IIS - Importing a Certificate and Private Key from a pfx File

This manual describes how a certificate and private key can be restores from a previously created backup (.pfx file):

  1. Copy the .pfx file to a location that can be reached from the server you wish to install the certificate on.
  2. Open the Local Machine Certificate Store via de mmc snap-in.
  3. Rightclick the Personal folder and choose All TasksImport to start the Certificate Import Wizard:
  4. Click Browse... and choose the .pfx you want to import, then click Next:
  5. When prompted fill in the password for the .pfx file and check the desired options:

    Note: The option Mark this key as exportable can be checked if the key needs to be exported at a later time.
    Click Next.
  6. In the Certificate Store window, choose the option Automatic. The certificate will then be placed in the correct store automatically.

    Click Next.
  7. A summary of the chosen options is displayed. If these are all correct, click Finish. The import is now complete and a message that the installation was successful is displayed.

Activation in IIS 6:

  • Start the IIS Manager
  • Rightclick the production website and choose PropertiesDirectory SecurityServer certificate.
  • Select the option Replace the current certificate.
  • Select the new certificate and finish the wizar

Activation in IIS 7:

  1. Click StartAdministrative ToolsIIS Manager
  2. Select the correct server in the left hand menu, then go to Sites and select the website you wish to secure with the certificate.
  3. In the Actions menu to the right of the screen click on Bindings.
  4. Click Add... in the Site Bindings window to open the Add Site Binding window.
  5. Select https as Type, select the IP address pand portnumber to be used (the default ssl port is 443). Select the certificate you just imported from the pulldown menu and click OK.

 

Related articles:

Backup Certificate and Private Key to pfx File

SSLCheck

Our SSLCheck will examine your website's root and intermediate certificates for correctness and report any potential issues

point up