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

Support for MQTT over TLS #29

Open
koenvervloesem opened this issue Apr 23, 2020 · 4 comments
Open

Support for MQTT over TLS #29

koenvervloesem opened this issue Apr 23, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request in progress

Comments

@koenvervloesem
Copy link
Member

I see that MQTT over TLS support has been added in Rhasspy 2.4 in synesthesiam/rhasspy#201. Is it much work to add this support in Rhasspy 2.5? I suppose that every Hermes-enabled service should be adapted?

@koenvervloesem koenvervloesem added the enhancement New feature or request label Apr 23, 2020
@synesthesiam synesthesiam self-assigned this Apr 23, 2020
@synesthesiam
Copy link
Contributor

This won't be a lot of work, luckily. Every Hermes service uses the same shared library to parse command-line arguments and set up its MQTT connection :)

@synesthesiam
Copy link
Contributor

@koenvervloesem, do you know of a good tutorial to set up TLS in mosquitto?

@koenvervloesem
Copy link
Member Author

No, but I can write one :-) I wrote this for my book, so I can rework the material to fit in Rhasspy's documentation. If you put a TODO placeholder in the documentation, I'll add this when I find some time.

Maybe we should add a Security section in the documentation. This could have the following topics eventually:

  • MQTT TLS and authentication configuration in Rhasspy
  • TLS configuration for Mosquitto
  • Configuration of accounts and access control lists in Mosquitto
  • Isolating Rhasspy apps in Docker/podman containers

We'll have to document this anyway if we want to work on a secure architecture for Rhasspy apps.

@Romkabouter
Copy link
Contributor

Ho @koenvervloesem , this is already supported in 2.5.11 correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress
Projects
None yet
Development

No branches or pull requests

3 participants