repair / restore private key on a microsoft server with certutil
Log into the server with an administrative account. Choose Start and choose Run…
In the box type in mmc and click ok.
In the MMC go to File –> Add / Remove Snap-in…
Click the Add button and choose certificates and click Add.
Select Computer Account then Local Computer and Finish.
Close the snap in Window and click OK.
Navigate to the location of the certificate you need to repair.
For a certificate you installed the default location will be Personal –> Certificates.
Double click on the certificate in the right hand pane.
In the general information: note that if you have a private key already associated you will see a private key information bit at the bottom of the details (just above the issuer statement).
Click on the Details tab.
In the Details window, select Serial Number. Write down the serial number for the certificate that you wish to repair.
Open a command prompt (start –> Run –> CMD –>OK).
From the command prompt run: certutil -repairstore my “SerialNumber”
Where SerialNumber is the serial number for the certificate that you just wrote down.
Hit enter and you should receive a message stating the repair was successful.
Thanks for this great tip! You saved my life!!! :-/