Hello,
> > Hello,
> > > i am not able to use asn1parse on my certificate.
> > >
> > > i generated the certificate by :
> > > - generating request
> > > - signing request by ca
> > >
> > > also i used CA.pl to do the same task.
> > >
> > > but in both cases, when i use asn1parse, it gives me the following error :
> > > ------------------------------------
> > > # ./openssl asn1parse -in cert
> > >     0:d=0  hl=2 l=  31 cons: UTF8STRING
> > >     2:d=1  hl=2 l=  12 cons: appl [ 8 ]
> > > Error in encoding
> > > 12109:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too
> > > long:asn1_lib.c:150:
> > > ------------------------------------
> > >
> > > instead when i generate a self-signed certificate, asn1parse works fine.
> > >
> > > i wonder why ?
> > Remove some text information above "real" certificate in cert file.
> 
> there is no custom text information, i am using core openssl-0.9.8b
> without any custom changes with default openssl.cnf.
Not in openssl.cnf but in generated certificate.
There are lines beginning with line "Certificate:" - text information
about generated certificate.
Real certificate is at the end of file in form:
-----BEGIN CERTIFICATE-----
..
..
-----END CERTIFICATE-----

and this should stay.

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to