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

Kagan Kassu 1 Reputation point
2022-04-25T12:38:32.343+00:00

We are having this error when run to Web API. We already upgraded .NET Framework to 4.8v on Windows Server 2012 R2. Check TLs 1.2 is enabled.
196191-tls12-reg1.jpg

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
0 comments No comments
{count} votes

12 answers

Sort by: Most helpful
  1. Vito Procino 6 Reputation points
    2022-05-06T16:46:48.007+00:00

    What is binding web api? You are setting public or selfsign ca? Have you setting require certificate? And what is authentication method for application pool?

    If your web api connect to sql you must configure correct support to use tls 1.2 on sql.


  2. Vito Procino 6 Reputation points
    2022-05-10T11:47:49.653+00:00

    If you use selfsign ca it is required that it must be registered into local client ca folder. Selfsign ca requires to be trusted server-client otherwise you should see an authentication error.

    0 comments No comments