I have a simple app that uses the C# Web Client class to download a websites HTML. This is a stripped down sample of the code I\'m using:
WebClient wc = new Web
I had this issue with message:
Could not establish trust relationship for the SSL/TLS secure channel.
I was connecting to a web service on an Apache server using a .NET client. This is what corrected the problem for me.
(proxy).UserAgent = "Apache-HttpClient/4.1.1 (java 1.5)";