3
Vote

Untrusted Https/SSL does not work

description

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; };

comments

Mastermnd wrote Jul 26, 2011 at 10: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 11:39 PM