While trying to convert an existing traditional private key file to pkcs8 format, I am getting following error:
unable to load key 7916:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:ev p_enc.c:330: 7916:error:0906A065:PEM routines:PEM_do_header:bad decrypt:pem_lib.c:428: I am pretty sure that the password I am using is correct. Any other reason that it could fail? I am using following command to convert: openssl pkcs8 -topk8 -in mykey.pem -inform pem -out mykey_pk8_enc.pem -outform pem And my key is in following format: -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,9EE0B6593DE6EF14 ...base64 encoded data... -----END RSA PRIVATE KEY----- Appreciate any help. -Vivek ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org