Posted on: 4/29/2015 4:45:10 AM | Views : 655

Hello All,
I have created web API which is running successfully on local machine, however when it is been deployed on production server with IIS 6 and Windows Server 2003, it is giving the following error
the remote certificate is invalid according to the validation procedure asp.net To resolve this error I have added the below settings in web.config
<system.net> <settings> <servicePointManager checkCertificateName="false" checkCertificateRevocationList="false"/> </settings> </system.net> But still the issue is not resolved
Below is code that I am calling from the web api
From Client Side
string baseUrl = HttpContext.Current.Request.Url.Scheme + "://" + HttpContext.Current.Request.Url.Authority + HttpContext.Current.Request.ApplicationPath ...

Go to the complete details ...