这是我的设置
一个IdentityServer 4作为无状态可靠的ASP.NET Core服务。 一个WebAPI作为可靠的ASP.NET Core服务。
使用它们与JS客户端,现在可以使用HTTP工作。问题出在HTTPS上。WebAPI需要通过htttps [is4URL].well-known/openid-configuration请求openID配置文件。我收到了这个错误
System.InvalidOperationException:无法从以下位置获取配置: 'https://localhost:9999/.well-known/openid-configuration'. ---> System.IO.IOException:无法从以下位置检索文档: 'https://localhost:9999/.well-known/openid-configuration'. ---> System.Net.Http.HttpRequestException:发送请求时发生错误。 ---> System.Net.WebException:基础连接已关闭:无法建立SSL/TLS安全通道的信任关系。 ---> System.Security.Authentication.AuthenticationException:根据验证过程,远程证书无效。
有人能帮我让这个在本地主机上通过SF Local Cluster Manager工作吗?
谢谢
Startup.cs
文件。 - moritzg