On Wed, Mar 17, 2010, Mark Spruiell wrote:

> Thanks, that seems to fix it.
> 
> One more thing: when I was looking for a solution to this issue,
> I tried to convert the private key into the old format. I thought I
> could do it with a command like this:
> 
> openssl pkcs8 -in key.pem -out oldkey.pem -passout pass:password
> 
> However, it seems as if the -passout option has no effect, because
> the resulting key in oldkey.pem can be loaded without a password.
> 
> What is the proper way of generating (or converting) a private key
> in the old format with a password?
> 

Hmm there should be an option in the pkcs8 utility but there isn't at present.
You can do:

openssl rsa -in key.pem -des3 -out keyold.pem

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to