Intermittent SSL/TLS Failure in .NET 6: "Could Not Create Secure Channel"
Jamesh
0
Reputation points
I am developing a .NET application and facing an issue where my API calls intermittently fail with a HttpRequestException. The error message states, "The request was aborted: Could not create SSL/TLS secure channel." This happens randomly, even though my SSL certificate is valid. I am using HttpClient in a .NET 6 application. How can I resolve this issue?
Developer technologies | .NET | .NET Internet of things
Sign in to answer