SSL support ... does it work in .Net Micro Framework ?

Editor
Jun 17, 2014 at 12:28 PM
Hello,

I'm using this library on my PC and I can't use it on .Net Micro Framework because I haven't a board that support SSL : I have Netduino Plus 2 and FEZ Hydra :-(.
On code gallery (sample on ODB2), I read that the example doesn't work on emulator due to network problem.
Now ...

Sniffing traffic between PC and Service Bus, I see that during SSL handshake, the server sends a certificates chain : its certificate (CN=servicebus.windows.net) and two CA certificates (CN=MSIT Machine Auth 2 and Microsoft Internet Authority).
On my PC I have the CA certificates so validation works fine.

Due to problems above, I can't try it on .Net Micro Framework but on ODB2 sample on code gallery the library was used with FEZ Spider that supports SSL.

In the TcpTransport.cs file I see that the following call :
sslSocket.AuthenticateAsClient(
                    sslHost,
                    null,
                    noVerification ? SslVerification.NoVerification : SslVerification.VerifyPeer,
                    SslProtocols.Default);
doesn't receive any X509Certificate instance as CA certificate. How does it validate certificate from server ?
Furthermore, I see that noVerification variable is false so we pass SslVerification.VerifyPeer.

Paolo.