peterhinch / micropython-mqtt

A 'resilient' asynchronous MQTT driver. Recovers from WiFi and broker outages.
MIT License
549 stars 116 forks source link

secure connection with mosquitto_sub #104

Closed gmrza closed 1 year ago

gmrza commented 1 year ago

In tls.py you made the comment that you have not worked out yet how to get mosquitto_sub to use a secure connection.

I am currently using tls with username/password auth, using the following format with mosquitto_sub:

mosquitto_sub -h <my local mosquitto server> -t result -u <username> -P <password> -p 8883

peterhinch commented 1 year ago

Thanks for that, I'll update the code comment.