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?