Hi ,
I'm using Exchange Server 2010 SP3 with EWS API 2.0 and VB.Net.
When I make the calls using the webservices, for the Exchange version I use the SP2 option for the Exchange Version.
For the Certification I use the below code which in the client side I accept everything.
ServicePointManager.ServerCertificateValidationCallback = New _
RemoteCertificateValidationCallback(AddressOf CertificateValidationCallBack)
Return True
End Function
I'm always returning true since I am inside my domain etc etc.
The thing is that when I try to get the inbox for example I'm getting the below errors
The request failed. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.-2146233088
The remote certificate is invalid according to the validation procedure
I have checked the user name and passwords and also I am ABLE to connect from OWA.
Why am I getting these errors and what should I need to check ???
Is it something that I need to do in the client side ? Exchange server side ?
Exchange server in is different IPs-machines from the client who makes the calls but they both belongs at the same domain.
Appreciate any help you could give me.
thank you