private bool ValidateServerCertificate( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { if (sslPolicyErrors == SslPolicyErrors.None) { return true; } else { logger.Warn(String.Format("Certificate error: {0}", sslPolicyErrors)); return true; } }