Recreate a Broken SSL private key

Sometimes a private key gets corrupted and will no longer function with IIS. This is how I recreated the private key for my SSL certificate :

  1. Logon to the (web)server with the right account (domain admin for example).
  2. MMC/add certificates/Local computer –> finish
  3. Go to the certificate you wish to repair (for example personal store)
  4. Write down the serial number of the private key (propertes of the certificate)
  5. cmd –> certutil -repairstore my “SerialnumberOfSSL”
    After repair you get a message that it was succesful.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.