'Azure CosmosDb Emulator Error: Failed loading emulator secrets certificate. Error 0x8009000f

I'm sorry for creating another question about this, as I've seen some here already, but I can't comment and I feel like this is a more common problem as of late.

I've tried all the common troubleshooting steps:

  1. Restart computer
  2. Open PowerShell and CMD as admin
  3. Uninstalled and reinstsalled the emulator

I'm cd'ing into: C:\Program Files\Azure Cosmos DB Emulator and running: .\Microsoft.Azure.Cosmos.Emulator.exe /port=8082 and getting the same error every time:

emulator error

I would love to know if anyone else has recently seen this issue or at all before. I'm on Windows 10.

Thank you!



Solution 1:[1]

As per official documentation, make sure you have the following software and hardware requirements:

Software requirements:

  • Currently Windows Server 2016, 2019 or Windows 10 host OS are supported. The host OS with Active Directory enabled is currently not supported.

  • 64-bit operating system

Minimum hardware requirements:

  • 2-GB RAM

  • 10-GB available hard disk space

• To install, configure, and run the Azure Cosmos DB Emulator, you must have administrative privileges on the computer. The emulator will add a certificate and also set the firewall rules in order to run its services. Therefore admin rights are necessary for the emulator to be able to execute such operations.

Also try after delete of CosmosEmulatorSecrets and DocumentDbEmulatorCertificate these 2 certificates from certificate manager.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 AbhishekKhandave-MT