本地网络上的 Azure Cosmos DB 模拟器抛出安全错误

Azure Cosmos DB Emulator on local network throwing security error

我已将 Azure Cosmos DB 模拟器设置为 运行 在我们本地网络中的 Windows Server 2012 R2 虚拟机之一上,如 here 所述。

我已经从服务器导出证书并导入到我的客户端机器。当我调用通过邮递员连接到模拟器的 api 时,出现以下错误:

WinHttpException: A security error occurred                      
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw                       
System.Threading.Tasks.RendezvousAwaitable.GetResult()
System.Net.Http.WinHttpHandler+<StartRequest>d__105.MoveNext()

我可以浏览到模拟器资源管理器,但我在 Chrome 中收到 "Your connection is not private" 消息,必须执行 "proceed (unsafe)" 才能访问它。

该错误消息非常无用,但我假设这是一个证书问题,并且在使用模拟器时无法绕过 SSL。微软文档中关于这个问题的指导也很少,在本地网络上使用模拟器时是否需要以某种方式生成新证书?

我设法通过将导出的 SSL 证书导入到客户端计算机受信任的根证书颁发机构来解决这个问题