I was recently trying to create a certificate for Azure / Windows Server 2012 essentials integration and had problems with a certificate. You have to have a certificate for connecting to Microsoft Azure backups and not realizing that the server already had a self signed cert, I set about following the instructinos to create my own.

If you’re trying to make a certificate using Microsoft’s MakeCert.exe tool, you may find that after typing a very long command into the command prompt that it kindly tells you it failed and gives you the following message:

Error: Save encoded certificate to store failed => 0x5 (5)
Failed

Microsoft has kindly given you another awesome error message that means next to nothing to a human being. The good news is this. It’s SUPER easy to fix. Simply run the same command again in an elevated command prompt (read Run As Administrator) and it should work perfectly!