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

The differences between Angular SSR (Server-Side Rendering) and Angular SSG (Static Site Generation) can be summarized as follows

  1.  When HTML is Generated SSR : HTML is dynamically generated  on each request  by the server. The server processes the request, fetches ...

Best for you