C# 如何从ASP.net core 1.1.2 Httpclient启用TLS 1.2
我们正在使用ASP.net core 1.1.2,我们正在调用启用TLS1.2的HTTPS服务。当我们从Httpclient调用时,我们得到以下安全错误C# 如何从ASP.net core 1.1.2 Httpclient启用TLS 1.2,c#,ssl,asp.net-core,tls1.2,C#,Ssl,Asp.net Core,Tls1.2,我们正在使用ASP.net core 1.1.2,我们正在调用启用TLS1.2的HTTPS服务。当我们从Httpclient调用时,我们得到以下安全错误 System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred at System.Runtime.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
我有同样的问题已经6个月了。我可以间歇性连接,但大约20%的连接尝试失败。几个月前,我读到.net核心团队声称问题在于Azure将IIS用于AppServices。你有什么新消息吗?
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384