openssl pkcs12 -in xxx.pfx -out xxx.pem
By default, this will encrypt the private key with triple DES inside the PEM file.
It will first prompt you for the password used to protect the pfx back when it was
created, then it will prompt you for the password used to encrypt it in the PEM file.
Scott Harris wrote:
I have a CA Certificate genereated from Microsoft CA and I was able to convert it to PEM format. It only has public key
*Openssl:x509 -n xxx.cer -inform d -out xxx.pem*
But I am unable to covert a private key (in .pfx) of the server certicate to PEM.
Any body knows how to convert a .pfx in .PEM format.
Thats was I am looking for after converstion
-------BEGIN ENCRYPTED PRIVATE KEY--------------------
---------END ENCRYPTED PRIVATE KEY--------------------
I am just getting garballed and do not see this. Is this possible using OPENSSL or I need to look into other tools to do the conversition.
------------------------------------------------------------------------
Do you Yahoo!?
Y! Web Hosting <http://webhosting.yahoo.com/%20> - Let the expert host your web site
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]