McLighting
McLighting copied to clipboard
Add tls support to amqtt
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
Thank you for your contribution @sehraf,
we'll have a look on it.
Regards Tobias
@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.