Can you import a SSL certificate from another Windows IIS 7 server?

6,562

Solution 1

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!

Solution 2

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...

Share:
6,562

Related videos on Youtube

Blankman
Author by

Blankman

Updated on September 18, 2022

Comments

  • Blankman
    Blankman over 1 year

    Usually I re-request the CSR and install the certificate when I move servers.

    Was hoping if there was a faster way, where I can just export/import a SSL certificate when I move my website to another server.

    I am using Windows Server 2008 (R2).