27 Jun
2006
27 Jun
'06
5:32 p.m.
Hi !
You also need to specify "-outform PEM".
# openssl x509 -in somecertificate.cer -inform DER -out somecertificate.pem -outform PEM unable to load certificate 88876:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/tasn_dec.c:946: 88876:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/tasn_dec.c:304:Type=X509