【发布时间】:2017-10-16 13:28:53
【问题描述】:
这是我的设置
作为无状态可靠 ASP.NET Core 服务的 IdentityServer 4。 WebAPI 作为可靠的 ASP.NET Core 服务。
将它们与 JS 客户端一起使用,它现在可以与 HTTP 一起使用。问题在于 HTTPS。 WebAPI 需要通过 htttps [is4URL].well-known/openid-configuration 请求 openID 配置。我收到此错误
System.InvalidOperationException:IDX10803:无法获取 配置来自: 'https://localhost:9999/.well-known/openid-configuration'。 ---> System.IO.IOException:IDX10804:无法从以下位置检索文档: 'https://localhost:9999/.well-known/openid-configuration'。 ---> System.Net.Http.HttpRequestException:发送时出错 请求。 ---> System.Net.WebException:底层连接 已关闭:无法为 SSL/TLS 建立信任关系 安全通道。 ---> System.Security.Authentication.AuthenticationException:远程 根据验证程序,证书无效。
谁能帮助我使用 SF 本地集群管理器在 localhost 中完成这项工作?
谢谢
【问题讨论】:
-
这很可能是证书问题,请告诉我们您的
Startup.cs -
我遇到了类似的问题,请查看stackoverflow.com/questions/43971397/…
标签: asp.net-core azure-service-fabric identityserver4