McLighting icon indicating copy to clipboard operation
McLighting copied to clipboard

Add tls support to amqtt

Open sehraf opened this issue 6 years ago • 2 comments

Enable by setting -D ASYNC_TCP_SSL_ENABLED=1 as build flag. The addition to /esp_status turned out to be usefull for debugging so i've included it.

Tested on NodeMCU with mosquitto.

To retrieve the fingerprint you can run

openssl s_client -connect <host>:<port> < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin

sehraf avatar Jul 04 '19 17:07 sehraf

Thank you for your contribution @sehraf,

we'll have a look on it.

Regards Tobias

toblum avatar Jul 05 '19 20:07 toblum

@debsahu Thanks for taking a look. I remembered you did some investigations on using SSL on the ESP. I'm currently a bit lost on the state of the code of McL as I was out of the project for some time and there was so much going on.

toblum avatar Jul 13 '19 18:07 toblum