private static bool RemoteCertificateValidationHandler(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; // ignore the checks and go ahead } // ExEnd:ExchangeServerUsesSSL