-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add MQTT over SSL #3
Comments
also run: EDIT: seems to do the trick?? and you have to open port 8883 in the yunohost firewall manually. |
I believe this really needs a better integration with YunoHost. I think as a minimum it should be possible to choose domain, toggle SSL and manage users including password reset from the interface. As far as SSL is concerned I've collected the steps from comments above (thanks for those) and converted them to commands which can be run on the server within a
EDIT: add port update step |
Here's a config that enables both SSL (8883) and non-SSL (1883) connections. Perhaps someone finds it useful:
|
+1 Can somebody provide this? Would be great! |
Hello,
I am not comfortable with the writing of YUNoHost scripts.
And maybe you are aware about the below suggestion.
But if you know how to add mosquitto user to ssl-cert group then a first step to use MQTT over SSL is done.
The second step is to push the below four line to the /etc/mosquitto/conf.d/default.conf :
listener 8883
certfile /etc/yunohost/certs/your.domain.tld/crt.pem
cafile /etc/yunohost/certs/your.domain.tld/crt.pem
keyfile /etc/yunohost/certs/your.domain.tld/key.pem
And that is all.
Regards,
Thoma
The text was updated successfully, but these errors were encountered: