Skip to content
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

Can mqtt use SSL? #17

Open
Joeviocoe opened this issue Aug 14, 2022 · 1 comment
Open

Can mqtt use SSL? #17

Joeviocoe opened this issue Aug 14, 2022 · 1 comment

Comments

@Joeviocoe
Copy link

Joeviocoe commented Aug 14, 2022

I don't see anything in the source using paho mqtt, for using secure MQTT.

@mjmccans
Copy link
Owner

I believe paho does support ssl, but there may be another solution to your issue. While I do not have this setup anymore so my recollection could be a bit fuzzy, I recall setting up multiple "listeners" in mosquitto on different ports, with one being encrypted and one being encrypted. For the non-encrypted one I locked down the ACL to only write access and only on certain topics. While that still meant that someone could maliciously feed bad values to the mqtt server for those topics, that level of security was sufficient for my environment and considering that there was no danger if the sensor values were manipulated. Just a thought that you may want to explore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants