How do you bypass TLS/SSL cetification validation in WCF for Exchange Web Services
- by Sevki
I wan't to bypass SSL and use regular http protocol to connect to a Exchange 2007 server however we dont want to invest in a real SSL cert and the one we use is needed for blackberry enterprise server. Is there a way to bypass this
here is the 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);
How do you make ExchangeService accept bad ssl.