After receiving a certificate from my SSL provider, I noticed I couldn’t import the certificate in IIS. A bit strange, because I still had a pending request. I could just add the certificate to my store, but I needed the Private Key.

Whatever I did, nothing seemed to work… so I used the following procedure to restore the certificate with the private key:

  1. Start -> CMD.EXE
  2. Go to : %Windows%\System32
  3. Run: certutil -addstore my certnew.cer
    After the command you should receive : CertUtil: -addstore command completed successfully
  4. Navigate to the directory where you stored the certificate you received from the CA. Right-click the certificate and then point to Properties.
  5. Click the Details tab and select <All> in the Show drop-down list.
  6. In the Field list, select Thumbprint to display its value in the view pane.
  7. Select the Thumbprint value in the view pane and then click CTRL+C.
  8. Return to the command prompt window and type the following command: certutil -repairstore my “thumbprint”
    f the command is successful, the following message is displayed: “Encryption test passed CertUtil: = repairstore command completed successfully.”

More information: [[http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/53dfdb5e-6106-4d99-85bb-da199bc27c7e.mspx?mfr=true Microsoft]]