Chat freely about anything...

User avatar
By diogoviannaaraujo
#17209 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?
User avatar
By TylerFlick
#17308 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.