I have this line in my code (c# Net 4 client profile):
ServicePointManager.ServerCertificateValidationCallback += new System.Net.Security.RemoteCertificateValidationCallback(customXertificateValidation);
Which calls:
private static bool customXertificateValidation(object sender, X509Certificate cert, X509Chain chain, System.Net.Security.SslPolicyErrors error)
{
return true;
}
To skip SSL certificate error, but I'm still getting the error of "cannot create SSL/TLS channel".
Also if I run Fiddler to check my traffic, it does connect to the service.
However on another solution (working with another server, this works perfectly) What should I check on my project config, or maybe my pc (windows 8.1 64 bits), or maybe something with Fiddler?
Thanks