Question : How do I retrieve the Private Key from my IIS6 installed wildcard cert

I recently installed a wildcard SSL certificate on one of my servers that hosts a subdomain (running Small Business Server 2003).  I am now trying to install the certificate on another server that hosts a different subdomain, but it requires the private key for the certificate... and I can't figure out how to get the private key.

The server I need to install it on now is an Apache server, so I'm not sure the exported pfx file from IIS6 will work.

I've been searching google for help on this for the last couple hours, and either I am not phrasing my question correctly, or there is no related documentation available... any assistance with this would be greatly appreciated.

Answer : How do I retrieve the Private Key from my IIS6 installed wildcard cert

OpenSSL does it all when it comes to anything certs.  It is included in many linux installs and there is an open source installer for windows if need be that has been around for years.

You can convert the pfx to PEM format (still PKCS #12):
OpenSSL pkcs12 -in FILENAME.pfx -out FILENAME.pem

You can separate the private key and cert from a pfx file:
openssl pkcs12 -in filename.pfx -nocerts -out filename_key.pem
openssl pkcs12 -in filename.pfx -nokeys -out filename_cert.pem

Depending on how it was issued, you may need to add these to each, in the appropriate 'in' area and 'out' area of the commands, if the certs were created in DER format instead of base64/PEM.  These will add the conversion from one method to the other.
-inform DER -outform PEM
Random Solutions  
 
programming4us programming4us