Windows 2008 Unable to export private key (.pfx) after installing new cert on IIS 7

In order to get the Private Key associated with certificate, we need to follow the steps below on the Server where the CSR file was requested. 

  1.  Open the Certificate console (MMC > Certificates).
  2. Go to your certificate and click the Details tab and copy the Serial Number.
  3. On the Server, where the CSR file was generated, run the following command

Certutil –repairstore my "serial number of the Certificate"

For Example: 

Certutil –repairstore my “14 b9 7f f5 00 02 00 00 00 22” 

Now you should be able to export your certificate as a .pfx file which includes the private key. 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Redirect HTTP to HTTPS automatically

If you have a secure certificate (SSL) on your website, you can automatically redirect visitors...

Unable to access Website, WHM, cPanel, Emails - Why my IP address is blocked?

Some of us face the issue that our website is not accessed by us but can be accessed by our...

OJS - Error message on upload No file uploaded or invalid file type!

This message has two common causes: Uploads are failing entirely. Check to ensure that your...

How Do I Redirect HTTP to HTTPS Automatically?

Redirect http To https Automatically: To redirect http to https automatically just add below...