Can you import a SSL certificate from another Windows IIS 7 server?
When you are viewing your SSL Certificates in the IIS Management Console, right-click the certificate and choose Export...
You can then export a .pfx
file. You will need to specify a password for it.
On your new server, simply go to the Server Certificates page and choose Import...
, select the .pfx
file from the previous server, enter your password, and that's it!
Exporting a certificate's public and private key is built into Windows, as long as you imported the certificate with the "Allow Export" flag set... In case you have a certificate that doesn't allow you to export the private key you can use a third party tool to extract the private key...
iSEC Partners wrote a tool called Jailbreak that allows you to export "locked" certificates... I wrote up a review of it on my blog...