WCF Error "This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case

 Error  :an error occurred while making the http request to url. this could be due to the fact that the server certificate is not configured properly with http.sys in the https case. this could also be caused by a mismatch of the security binding between the client and the server.

ANS

 

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

No comments:

Post a Comment

commonly used in modern ASP.NET Core apps more examples using fetch + Blob in JavaScript to download files PDF, Excel

 Let’s explore real-world examples using the fetch + blob pattern, targeting different file types and scenarios. ✅ 1. Download Static PD...

Best for you