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.
- Open the Certificate console (MMC > Certificates).
- Go to your certificate and click the Details tab and copy the Serial Number.
- 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.