We recommended you backup your certificate and its corresponding private key in the event that there is a hardware failure or other disaster affecting your Server, the following instructions will show you how. These instructions will also help you export your certificate from one web server and import the certificate and its private key to another web server.
STEP 1: Export the certificate and private key from the IIS 6.0 server
Create an MMC Snap-in for Managing Certificates
Select File, Add/Remove Snap-in.
Select Computer Account, Local Computer.
Close the Add Standalone Snap-in window.
Click on OK at the Add/Remove Snap-in window.
Export the Certificate with Private Key
Expand the Certificates Console Tree.
Look for a folder called Personal, Certificates.
Select the Certificate that you wish to back up.
Right-click on the file and choose ALL TASKS, Export.
The Certificate Export Wizard will start up. Click Next.
Choose Yes, export the private key.
Select Include all certificates in the certification path and click on Next.
Set a password to protect the export of the Private key file with the Certificate. Click on Next.
Choose to save the file to a set location.
Type the file name in the File Name box, and click Save.
Click on Next, Finish.
You will receive a message that states The export was successful when the export has been completed. Click OK.
The file will be given an extension of .pfx, and contains your SSL certificate and the corresponding private key.
STEP 2: Import the pfx file into the IIS 7.0 web server
Open IIS Manager and navigate to the level you want to manage.
In Features View, double-click Server Certificates.
In the Actions pane, click Import.
In the Import Certificate dialog box, do the following:
- Type a file name in the Certificate file box or click the browse button to navigate to the name of a file where the exported certificate is stored.
- Type a password in the Password box if the certificate was exported with a password.
- Select Allow this certificate to be exported if you want to be able to export the certificate, or clear Allow this certificate to be exported if you do not want to allow additional exports of this certificate.
Export your Certificates from IIS
Open Microsoft IIS 7.0 Manager.
In the left-hand pane select the Server Name.
In the middle window click the Server Certificates icon.
Select the certificate you wish to export.
Give the certificate a file name and password.
Your certificate and private key have been exported to a .pfx file.