The other day when I tried to access https sites from my loved SharePoint soap web services, I got stuck because of a security exception, that said something like “Connection was terminated” there is no trusted relationship.
I figured out I can fix it overriding the X509 Certificate, and in fact I did it by that way before in other developments, but when I checked that typical warning from Internet Explorer that says you are accessing a unsecure site “Continue” or “Close” I noticed (in fact, my colleague Daniel Seara make me notice) that this could be fixed just installing the right certificate as trusted certificate in the machine where I was executing my code.
And that’s it! Remember that you need to install the root certificate in those cases you are accessing a https site without a public certificate, for instance your intranet or local development site with https could be one of those where you have your own certificate.
Latest posts by Guillermo Bas (see all)
- SharePoint 2013 Public Beta has been released - July 17, 2012
- Exception when accessing https sites from SharePoint soap web services - July 3, 2012
- EndDate Field cannot be updated programmatically on existing Event List items - June 21, 2012