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

MQTT notifications improvements: TLS support #3915

Open
fgalan opened this issue Aug 31, 2021 · 3 comments
Open

MQTT notifications improvements: TLS support #3915

fgalan opened this issue Aug 31, 2021 · 3 comments

Comments

@fgalan
Copy link
Member

fgalan commented Aug 31, 2021

Follow up from issue #3001

Support TLS. It needs to be analysed, but some early thoughts follow:

  • mqtts:// should be supported as schema for url field
  • We could reuse the same -key, -cert and -insecureNotif fields we currently use for HTTPS notifications

Equivalent mosquitto_pub:

mosquitto_pub -d --insecure --cafile file.pem -h <host> -p 1883 -u <username> -P <password> -t '/topic' -m 'payload'
@SBlechmann
Copy link

Hey @fgalan,

due to some GDPR restrictions, there is quite some need in our use case to implement tls for mqtt notifications. Is there anything planned for your roadmap?

Thanks in advance for your answer!

@fgalan
Copy link
Member Author

fgalan commented Mar 19, 2024

@SBlechmann this issue isn't in our roadmap at the present moment.

However, we are always open to out-of-roadmap contributions, so if you have a strong need of this use case, we would be more than happy to have a look to a pull request implementing it (and eventually merge it, of course :)

Having a look to the library we use for MQTT notification (https://mosquitto.org/api/files/mosquitto-h.html) it seems it support TLS, so it seems to be doable.

Thanks for the feedback!

@fgalan fgalan added the backlog label Mar 19, 2024
@SBlechmann
Copy link

@fgalan that's unfortunate. IoT systems that do not incorporate essential security features are not usable =(

Well, my background is mechanical engineering... but if you will, I can have a look. Thanks for the hint to the mosquitto library.

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

No branches or pull requests

2 participants