I am working on a Windows Mobile 6.5 Pro .NET Compact Edition 3.5 using .NET Compact Edition 3.5 .
I can contact the standard web service (without using SSL), but HTTPS will fail. I tried to add another link on the Internet; this indicates the version of HTTPS. I assumed that it would generate the correct code for SSL, but nothing.
Every time I try to contact the service through code, I get the following:
An existing connection was forcibly closed by the remote host. Could not establish a secure channel for SSL / TLS.
I tested the same code in the .NET 4.5 console application, and I was able to successfully get to the HTTPS web service and get the XML response without any problems.
Does the Web Refence created on VS2008 for HTTPS seem to be missing something?
There is not much code here, except for the automatically generated code that VS2008 creates when a new web link is added.
UPDATE 1: I am following this post, which seems to be the same issue I am facing, but unfortunately I do not think this has been resolved. How to set a secure channel for SSL / TLS from a handheld device?
UPDATE 2: After further research, Windows Mobile 6.5 Pro seems to support TLS v1.0, while the SOAP service I was trying to contact is v1.2 (the latter).
bit on TLS and SSL: Here .
WS 2003 had SSL 2.0 / 3.0 and TLS 1.0 by default. The default installation did not support AES ciphers, but support could be added using a fix.
WS 2008 also supported SSL 2.0 / 3.0 and TLS 1.0 by default, but improved cryptographic support with the new AES cipher suites.
WS 2008 R2 introduced TLS 1.1 and TLS 1.2, but they were disabled by default.
WS 2012 takes it one step further when TLS 1.2 is installed by default.