Untrusted Https/SSL does not work


Does not work with https/ssl web services if certificate isn't OK.
Fails with: "Could not establish trust relationship for the SSL/TLS secure channel"
I usually solve this with C# code:
System.Net.ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };


Mastermnd wrote Jul 26, 2011 at 9:56 AM

I have the same problem. It's relatively easy to fix on your side, but until this line is incorporated I cannot test SSL services using self-signed certificates (usually the case in development mode)

wrote Feb 21, 2013 at 10:39 PM