我安装了Azure CosmosDb仿真器,但它没有启动并给出错误:“未能加载模拟器机密证书。错误: 0x80092022”当我检查我的证书时,它也不会创建任何与cosmos db模拟器相关的证书。然后,我尝试通过cmd上的"Microsoft.Azure.Cosmos.Emulator.exe /GenCert“命令手动创建证书,但这次显示的错误是”生成仿真程序SSL证书时出错“。
我该如何解决这个问题?
发布于 2022-02-18 21:03:08
这也是我正在积极解决的一个问题。生成缺失证书的方法是执行以下操作:
C:\Program Files\Azure Cosmos DB Emulator
Microsoft.Azure.Cosmos.Emulator.exe /Shutdown
Microsoft.Azure.Cosmos.Emulator.exe /GenCert
Computer\Personal\Certificates本地
DocumentDbEmulatorCertificate | LocalHost
从“开始”菜单或命令行启动
https://stackoverflow.com/questions/71148048
复制相似问题