Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
If you are using Https, this might fix it.
ServicePointManager.ServerCertificateValidationCallback = RemoteCertificateValidationCallback;
public static bool RemoteCertificateValidationCallback(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
{
// do some validation here...
}
Please refer to https://blogs.msdn.com/suwatch/archive/2007/04/06/x509-and-wcxf-security.aspx for a complete picture.