Found it..

openssl rsa -in c:\mykey.key -outform PEM -out c:\unencr.key


(I feel like I'm talking to myself...)

-----Original Message-----
From: Tom Schuring [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 2:37 PM
To: [EMAIL PROTECTED]
Subject: decrypting the private key


Hello,

I generated a private key with:

        openssl genrsa  -des3 1024 > c:\mykey.key

It will ask me for a password. I enter "password" (high security eh ? :)
How do I get the unecrypted private key back ?

I tried:

        openssl enc -d -in c:\mykey.key -out c:\unencr.key -des3

and enter the "password" when it asks for it and I get a 

"bad decrypt" message...

Any idea's ?

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

Reply via email to