Describe the bug
When I try to run CosmosDB.Emulator.Exe I get the following error:
Failed to acquire private key for Emulator secrets certificate Error: 0x80090015
I have tried uninstalling, deleting all files AppData/Local/CosmosDbEmulator and in Program Files/Azure Cosmos Db Emulator and reinstalling it. I have also tried lodctr /r multiple times. and also tried CosmosDbEmulator /starttraces before starting CosmosDbEmulator
To Reproduce
I uninstalled an old version and reinstalled the latest version (2.2.1-2).
Expected behavior
The emulator should start
Environment summary
SDK Version: 2.2.1
OS Version: Windows 10-64 bit
I was able to fix it by deleting all certificates (using Certificate Manager) related to DocumentDbEmulator and CosmosDbEmulator
Hi @krishnagupta21 - I have run into the same issue as you. I followed your advice of deleting all certificates related to DocumentDbEmulator and CosmosDbEmulator and am now receiving
Failed loading Emulator secrets certificate.
Did you encounter this? How did you go about deleting certificates?
Any advice you could give would be greatly appreciated - I've hit a brick wall here!
Thank you.
Most helpful comment
I was able to fix it by deleting all certificates (using Certificate Manager) related to DocumentDbEmulator and CosmosDbEmulator