Is it possible that the key was not exported as PKCS#8 and was just exported to DER just using i2d_PrivateKey or similar?
You can use openssl asn1parse to check: "openssl asn1parse -in my.key -inform der" If it is PKCS#8 exported, then you should see sequence, integer, sequence, object (RSAEnc) and a single octet string. If it is exported directly, then I think you get 6 or more octet strings listed. Carl On Mon 15/06/09 4:38 PM , Sébastien PIAU sebastien.p...@covoiturage-entreprise.com sent: Hello, I want to convert a private key from DER to PEM format with the following command : >openssl pkcs8 -inform DER -nocrypto -in my.key -out my.key.pem Unfortunately, it seems that -nocrypto options doesn't exist in my openssl versions (OpenSSL 0.9.8e and OpenSSL 0.9.8h ) ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org