for default Exchange server installations, so return true. untrusted root errors for self-signed certificates. When processing reaches this line, the only errors in the certificate chain are If there are any other errors in the certificate chain, the certificate is invalid, So FAR this is the only website Im having this problem. I travel a lot and need access to my maps and directions. Self-signed certificates with an untrusted root are valid. avg has blocked access to because the server certificate has been revoked I rebooted my computer and now Im not even getting message, its just not loading or working. If ((certificate.Subject = certificate.Issuer) & If (chain != null & chain.ChainStatus != null)įoreach (509Certificates.X509ChainStatus status in chain.ChainStatus) If ((sslPolicyErrors & .RemoteCertificateChainErrors) != 0) If there are errors in the certificate chain, look at each error to determine the cause. If the certificate is a valid, signed certificate, return true. 509Certificates.X509Certificate certificate, The code we use (courtesy of Microsoft - (v=exchg.80).aspx) is as follows: private static bool CertificateValidationCallBack( You could obviously check for other SSL errors if you so desired. A little late to the party, but if you are looking for a solution like Yury's the following code will help you identify if the issue is related to a self-sign certificate and, if so ignore the self-sign error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |