Closed bdespatis closed 6 years ago
You can use secure connection, SSL is used if you set secure=True
argument when creating the mqtt instance object.
The certificate is not checked. Look at this discution
I'll see if it is possible to enable checking the certificate.
@loboris - I notice that the esp32_mqtt library has moved to espmqtt in the last couple of months. It appears that there is support for checking the certificate in the new library. Is moving to the new library a possibility?
Yes, it will be updated soon.
Hi Boris,
Do we have an estimate of when we can use ssl param inside mqtt module ? Thanks ! It is needed to connect to AWS. We could use simple.py (MQTT Client under MicroPython) if we can't wait.
Regards, Benoit
SSL works for me , i've not tested it against AWS though and I have used the code including the changes to remove unwanted lwt settings. See #126 id suggest to begin checking if AWS IOT does or does not support LWT and the hardcoded LWT path that is in the current firmware.
Hi,
I would like to know how I can point a CA certificate into MQTT Module so I can use TLS (secured connection). I can see user/password, but I don't see a SSL Argument or Certificate Argument.
Thanks for sharing
Benoit