我已经禁用了TLS 1.0和TLS 1.1。在Identity Server中(使用WebHostBuilder在服务结构群集中运行的v4,使用自签名证书以.NET 4.6.2为目标)。我在Startup.cs中添加了以下内容:
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;并且我收到以下错误:
System.InvalidOperationException: IDX10803: Unable to create to obtain
configuration from: 'https://services.mytest.com:8443/oauth/.well-
known/openid-configuration'. ---> System.IO.IOException: Unable to get
document from: https://services.mytest.com:8443/oauth/.well-
known/openid-configuration ---> System.Net.Http.HttpRequestException: An
error occurred while sending the request. ---> System.Net.WebException: The
underlying connection was closed: An unexpected error occurred on a receive.
---> System.ComponentModel.Win32Exception: The client and server cannot
communicate, because they do not possess a common algorithm我看过这里的问题:
IDX10803: Unable to create to obtain configuration
Unable to obtain configuration from well-known/openid-configuration
我已经尝试过这些建议(包括将证书添加到受信任的根目录)
https://stackoverflow.com/questions/51385821
复制相似问题