Articles in Root

How can I export my certificate to create a .pfx file using Microsoft IIS 5 or IIS 6?

Problem

How can I export my certificate to create a .pfx file using Microsoft IIS 5 or IIS 6?

Solution

In some instances, you may want to move a certificate from one server to another.  You may also want to back up the certificate that you have installed.  The best way to do this is to create a .pfx file.  A .pfx (may also be called a .p12 file) is a file that contains both your public and private keys. 

Note: This method will not delete the private key.  This means that the SSL certificate that you have installed will still function as normal and will still be installed.

  1. Open up IIS. This can be found in the Administrative Tools in Control Panel.
  2. Right-click on the website that has the pending request.  This is also the website that a CSR has been created for.
  3. A new window will appear.  In that new window, click on the Directory Security tab at the top.
    In the same window, you will see three sections.  The bottom section named Secure communications has three buttons.
  4. Click on the Server Certificate... button.
  5. A wizard appears.  Click on Next.
  6. Select the option to Export the current certificate to a .pfx file.  Click on Next.
  7. Click on the Browse button and navigate to the path where you would like to save the new .pfx file.  Also provide it with a file name.  Click on Next.
  8. At the next screen, type in a password to protect the file.  Retype in the same password to help prevent any typos in the password. Click on Next.
  9. The next screen is a summary screen of all the steps that you have performed.  click on Next.
  10. On the next screen, click on the finish button.

You have successfully created a .pfx