This was posted a few months before but i couldn't find an answer.

When executing:

./openssl rsa -in www.server.com.key -out www.server.com.key_new

where www.server.com.key is a copy of my private key, I am prompted
for a pass phase (which is what should happen). When I enter the
passphrase, however, I get the following error:

When entered "correctly":

25217:error:0D09D082:asn1 encoding routines:d2i_RSAPrivateKey:parsing:d2i_r_pr.c:116:
25217:error:0D09B00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib:d2i_pr.c:89:
25217:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib:pem_lib.c:290:

which is what I don't understand (or know how to fix).
When entered deliberately incorrectly I get:

25219:error:06065064:digital envelope routines:EVP_DecryptFinal:bad 
decrypt:evp_enc.c:243:
25219:error:0906A065:PEM routines:PEM_do_header:bad decrypt:pem_lib.c:451:

which would make sense as it indicates a failure of the pass phrase. Any
help would be much appreciated.

carst
-- 
Carsten Heinrigs
Ocean-7 Development
Tel: 212 533-7883

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

Reply via email to