maisken / Paradox_IP150

Hassio add-on, Python and MQTT bindings for controlling a Paradox alarm via the IP150 web interface
GNU General Public License v3.0
40 stars 10 forks source link

Add the option to inlcude CA certs file when connecting to MQTT Broker #12

Open ddppddpp opened 5 years ago

ddppddpp commented 5 years ago

While trying to make the addon communicate with the MQTT broker via SSL I found out that I actually need to provide the full chain of CA certs to the python mqtt client. Maybe this is a specific case for the Letsencrypt certs that I'm using, not sure how to verify that. Anyway, this can be done by:

I can open a PR and share my changes if that would be OK.