"Could not establish trust relationship for the SSL/TLS ... "
In code its easy enough to bypass this by trusting all certs.
//Trust all certificates System.Net.ServicePointManager.ServerCertificateValidationCallback =
((sender, certificate, chain, sslPolicyErrors) => true);
<?xml version="1.0" ?>
<configuration>
<system.net>
<settings>
<servicePointManager checkCertificateName="false" checkCertificateRevocationList="false" />
</settings>
</system.net>
...
Obviously this is really risky security wise; only use it for development.