0

First of all, I already read most of the responses on the topic The request was aborted: Could not create SSL/TLS secure channel and Transport Layer Security (TLS) best practices with the .NET Framework

I have a .Net 4.7.2 application running on an Azure App Service cloud. Through a HttpWebRequest object I connect to another server. When we update the target server to TLS 1.2 minimum, we started getting "The request was aborted: Could not create SSL/TLS secure channel" errors.

I have searched my code for any hardcoded protocol definition, as suggested on Microsoft's article, but couldn't find any. From my understanding, applications running .net 4.7+ should default to TLS 1.2. What could be causing this issue?

Josy Sclei
  • 49
  • 1
  • 7
  • @JuanR I'm trying to avoid hardcoding the TLS version, since Microsoft strongly advises against it. And .NET 4.7 should default to TLS 1.2 anyway, but looks like it´s not doing that – Josy Sclei May 10 '22 at 18:38

0 Answers0