-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complete SSL support #1700
Comments
Also added a PR for the zigbee2mqtt documentation: Koenkk/zigbee2mqtt.io#85 |
Waiting for @Diaoul to verify this, @andreasbrett thanks again! |
Thank you very much! I've quickly reviewed it but don't hold your breath on the testing part because I will only be able to test when the CC2531 arrives (ordered it yesterday) and I'm back from holidays. That would be early august at best. |
That's too bad but was a great opportunity for me to finally make my MQTT server more secure. I can now confirm that zigbee2mqtt will connect to my MQTT server that is set up to with a SSL/TLS configuration. Both client and server authenticate against each other without issue. |
@andreasbrett so for you it works? |
Exactly. "Server authentication only" worked as well as "server+client authentification". I used mosquitto as mqtt server and openssl for certificate generation. |
merged it, thanks @andreasbrett !! |
Hi there, I'm testing this modification on my setup. It seems to be working fine ;) :
After restarting :
|
I'd like to use SSL to connect to my Mosquitto server, currently, zigbee2mqtt isn't completely ready for it.
Several MQTT.js options are not exposed, this ticket is about making them configurable.
Here is an example of the MQTT.js configuration I would like to achieve, missing keys are
key
,cert
andca
, all of those are file paths.Can you expose them?
Thanks!
The text was updated successfully, but these errors were encountered: