public static bool SslIgnoreCertificateNameMismatch {get; set;}
This property gets or sets the flag that indicates whether to ignore name mismatch errors on the server certificate during authentication. Name mismatch errors occur when the name specified in the certificate is different from the name of the server machine which provides the certificate.