我不想绕过 SSL 并使用常规 http 协议(protocol)连接到 Exchange 2007 服务器,但是我们不想投资真正的 SSL 证书,而我们使用的证书是黑莓企业服务器所需要的。有没有办法绕过这个 这是异常(exception)
Request failed. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Service.Credentials = new WebCredentials(ShacxEwsUserName, ShacxEwsUserPassword, ShacxEwsUserDomain);
Service.Url = new Uri(ShacxEwsServiceUrl);
如何让 ExchangeService 接受错误的 ssl。
最佳答案
这是一个http://foodforcode.com/how-to-bypass-ssl-validation-for-exchange-webservices-managed-api关于我如何做到这一点非常简单......
关于.net - 如何在 WCF for Exchange Web Services 中绕过 TLS/SSL 认证验证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2585512/