{"action":"created","issue":{"url":"https://api.github.com/repos/CityofSantaMonica/SODA.NET/issues/51","labels_url":"https://api.github.com/repos/CityofSantaMonica/SODA.NET/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/CityofSantaMonica/SODA.NET/issues/51/comments","events_url":"https://api.github.com/repos/CityofSantaMonica/SODA.NET/issues/51/events","html_url":"https://github.com/CityofSantaMonica/SODA.NET/issues/51","id":119623535,"number":51,"title":"Could not establich trust relationship for the SSL/TLS  secure channel","user":{"login":"kf6ntg","id":1766530,"avatar_url":"https://avatars.githubusercontent.com/u/1766530?v=3","gravatar_id":"","url":"https://api.github.com/users/kf6ntg","html_url":"https://github.com/kf6ntg","followers_url":"https://api.github.com/users/kf6ntg/followers","following_url":"https://api.github.com/users/kf6ntg/following{/other_user}","gists_url":"https://api.github.com/users/kf6ntg/gists{/gist_id}","starred_url":"https://api.github.com/users/kf6ntg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kf6ntg/subscriptions","organizations_url":"https://api.github.com/users/kf6ntg/orgs","repos_url":"https://api.github.com/users/kf6ntg/repos","events_url":"https://api.github.com/users/kf6ntg/events{/privacy}","received_events_url":"https://api.github.com/users/kf6ntg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-01T01:56:22Z","updated_at":"2015-12-01T21:49:48Z","closed_at":null,"body":"Hello,\r\n\r\nOn my desktop PC running windows 7 SODA.net works fine. However on my Windows Server 2008 R2 box I received this error: \r\n\r\n\"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.\"\r\n\r\nHere is an MSDN article with help:\r\n\r\nhttp://blogs.msdn.com/b/deva/archive/2009/05/23/ews-throws-the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssl-tls-secure-channel.aspx \r\n\r\nHave you ran into this problem before? Do you know if the solution listed in the MSDN article can be added to SODA.net?\r\n\r\nBTW I'm using SODA.net for work at the County of Sonoma, my name is Brian and I work in the ISD department.\r\n"},"comment":{"url":"https://api.github.com/repos/CityofSantaMonica/SODA.NET/issues/comments/161106460","html_url":"https://github.com/CityofSantaMonica/SODA.NET/issues/51#issuecomment-161106460","issue_url":"https://api.github.com/repos/CityofSantaMonica/SODA.NET/issues/51","id":161106460,"user":{"login":"chrismetcalf","id":19971,"avatar_url":"https://avatars.githubusercontent.com/u/19971?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismetcalf","html_url":"https://github.com/chrismetcalf","followers_url":"https://api.github.com/users/chrismetcalf/followers","following_url":"https://api.github.com/users/chrismetcalf/following{/other_user}","gists_url":"https://api.github.com/users/chrismetcalf/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismetcalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismetcalf/subscriptions","organizations_url":"https://api.github.com/users/chrismetcalf/orgs","repos_url":"https://api.github.com/users/chrismetcalf/repos","events_url":"https://api.github.com/users/chrismetcalf/events{/privacy}","received_events_url":"https://api.github.com/users/chrismetcalf/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T21:49:48Z","updated_at":"2015-12-01T21:49:48Z","body":"99.9% of the time that I've seen it (mostly for other languages, this is the first time I've seen it for .NET), its because your root SSL CA certificates are out of date. How you update them depends on your OS and your development environment.\r\n\r\nThe fact that it occurs on Server 2008 but not on Windows 7 would seem to confirm that. The 2008 box probably has out of date root certificates, and the domain you're accessing is secured with a CA that has been established more recently. Its very likely that if you went to that domain in Internet Explorer, it'd also complain about the SSL certificate.\r\n\r\nThe best route is probably to first upgrade the 2008 machine with the latest service packs and security updates.\r\n\r\nIf that doesn't work, here's an MSDN article on manually installing a new root certificate: https://msdn.microsoft.com/en-us/library/cc750534.aspx"}}