I saw a problem like this using OpenSSL 0.9.5 28 Feb 2000 on Solaris. When I tried to convert a pkcs#12 file into PEM the private key didn't appear in the file with the public key. Once I switched back to using FreeBSD and OpenSSL 0.9.4 it worked again. Steven Brian Kresge wrote: > > I have read through the archives, and did not see an answer for this one. I > apologize if this questions has been asked in the past. > > I wish to convert a PKCS#12 file (.pfx) to either PEM or DER. I need to get > the certificate AND the key out of it. I have successfully used the > following command to get the certificate: > > pkcs12 -in pkcs12_file.pfx -out new_cert.pem > > My problem is; I can't seem to find the private key that is embedded in the > PKCS#12 file. Am I simply missing something here. The docs seem to leave > this out... I guess I was expecting to files (one for the certificate and > one for the private key.) > > Thanx much! > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] -- Steven Samorodin Software Engineer [EMAIL PROTECTED] Marimba, Inc. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]