-->
Page 1 of 1

Secure socket connection to a server

PostPosted: Tue May 12, 2015 12:45 am
by diogoviannaaraujo
Hi,
Im was wondering whats the best way to stablish a secure connection between the esp and a server. I think ssl is the way, right? found lot os yes and no for ssl support on the esp.
Im not looking for something fancy like https, just some simple messages sent from the server to the esp, in a connection started by the esp.
Maybe even crypto is unessessary, just a way to guarantee that the connected server is the correct one.
Anyone else dealing with something like that?

Re: Secure socket connection to a server

PostPosted: Wed May 13, 2015 8:20 am
by TylerFlick
Normally using an MQTT broker and the esp_mqtt library you could achieve this, but as of v1 of the SDK, SSL support seems to be broken. I've applied the libssl.a patch from v1.0.2b and still haven't had a successful result with 1024 bit certs.