Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
From a C# app (Compact Framework, Windows CE app), I am trying to call a REST method on a server running on our internal network, but the call fails with "Could not establish secure channel for SSL/TLS ...System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host"

What must I do to establish a secure channel for SSL/TLS?

Note: The same code running from a "test" app on my PC returns a different, albeit similar, err msg: "Could not establish trust relationship for the SSL/TLS secure channel"

This is the "Readers Digest" version of the question I pos[t]ed here: http://stackoverflow.com/questions/27642714/how-can-i-establish-a-secure-channel-for-ssl-tls-from-a-handheld-device[^]
Posted
Updated 24-Dec-14 13:07pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900