Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 8 down vote accepted

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!

share|improve this answer

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|improve this answer

1) Simple .pfx export:

Open IIS Manager, click on your server in the left-hand pane (just below Start Page), double click Server Certificates in the main pane, select the desired certificate and click Export in the right-hand actions (or right-click the certificate). This method thanks to this link

2) Another way which brings up a few different options for the export format including .cer (DER or Base-64 encodings for X.509) and .p7b:

Edit the HTTPS site binding, clicking View next to the selected SSL certificate, click the Details tab, select Copy to File. This brings up the Certificate Export Wizard and just follow your nose from there.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.