TLS 1.3 is not working. A fatal error occurred while creating a TLS client credential. The internal error state is 10013

288 Views Asked by At

We have windows server 2022 in which we have enabled TLS 1.3 and .Net Framework 4.8 is installed but our web application is build on .Net Framework 4.5, Thus we are not getting any response from TLS 1.3.

So, do we need to build our application on .Net Framework 4.8 or is there any other alternate option to do this activity using .Net Framework 4.5

We have below line of code in our application for TLS1.3

ServicePointManager.SecurityProtocol = (SecurityProtocolType)12288;

Line of code for TLS1.2, Which is working properly

ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
0

There are 0 best solutions below