openssl x509 -in TF.cer -inform d -out TF.pem
unable to load certificate6384:error:0D09F007:asn1 encoding
routines:d2i_X509:expecting an asn1 sequence:x_x509.c:102:address=1500880
offset=0
Can anyone help me :-))
Thanks,
GuruGnanam Subramanian,
iNautix Technologies, Chennai, India
Tel: 91-44-2254 6000 Ext: 1099
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org
"openssl x509 -inform der -in xxx.cer -out xxx.pem"
Janardhan
openssl x509 -inform der -in TF.cer -out TF.pem
unable to load certificate
6439:error:0D09F007:asn1 encoding routines:d2i_X509:expecting an asn1
sequence:x_x509.c:102:address=1500880 offset=0
Thanks Janardhan, Please let me know if you have more idea.
Thanks,
GuruGnanam Subramanian,
iNautix Technologies, Chennai, India
Tel: 91-44-2254 6000 Ext: 1099
janardhan
<janardhan.adatravu
@wipro.com> To
Sent by: openss...@openssl.org
owner-openssl-users cc
@openssl.org
Subject
Re: Converting .cer to .pem
05/13/04 05:44 PM
Please respond to
openssl-users@opens
sl.org
Are you sure that in your *.cer file is a DER encoded certificate ?
Nils
> Hi ,
> I got the below error when I was trying to convert a .cer certificate file
> to .pem using the openssl cmd.
>
> openssl x509 -in TF.cer -inform d -out TF.pem
> unable to load certificate6384:error:0D09F007:asn1 encoding
> routines:d2i_X509:expecting an asn1 sequence:x_x509.c:102:address=1500880
> offset=0
>
> Can anyone help me :-))
>
What does the TF.cer file look like? Does it look like ASCII with headers
like:
-----BEGIN XXXX-----
in there? If so its probably already in PEM format, you can test this by using
the above command without "-inform d".
Alternatively if it looks like a binary file then see what:
openssl asn1parse -inform DER -in TF.cer
produces.
Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk