I have a ASP.NET Web API which I\'d like to use with ssl. Currently the server is using a self-signed cert, and at this moment both http and https are allowed. I have a very
This worked for me. Just add the following before the call to GetAsync.
ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
This will ignore the SSL errors. This is only recommended in an intranet environment or other closed network where server identities can't be forged.