The request was aborted: Could not create SSL/TLS secure channel

  • Thread starter Thread starter Jithender Kankanala
  • Start date Start date
J

Jithender Kankanala

Guest
We are using a C# windows application which will call our web service methods using TLS1.2. In some systems we are getting this error "The request was aborted: Could not create SSL/TLS secure channel".

We are getting this error only in few systems. We have done some analysis and found language settings in those systems are spanish and we changed them to English-US. After this change application worked in some systems and it did not work in remaining systems. And also we are writing error log in EventViewer, so when we get this error it is writing in spanish in those systems where we have issue.

And also we are using the below line in our code

If GetFramework() < 4.6 Then
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12
End If


Please advise me on this.

Continue reading...
 
Back
Top