Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:server:advanced_server_configuration:mqtt:mosquitto_tls [2023-05-16 11:55] mattias [Add certificates for Mosquitto secure connections] |
blocks:server:advanced_server_configuration:mqtt:mosquitto_tls [2023-05-16 11:58] (current) mattias [Add certificates for Mosquitto secure connections] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Add certificates for Mosquitto secure connections===== | + | =====Add certificates for the Mosquitto |
The method below creates a self signed certificate that allow Mosquitto MQTT broker and it's clients to communicate over encrypted connections. | The method below creates a self signed certificate that allow Mosquitto MQTT broker and it's clients to communicate over encrypted connections. | ||
Line 67: | Line 67: | ||
===Copy the certificates to Mosquitto=== | ===Copy the certificates to Mosquitto=== | ||
+ | |||
+ | We may have to change user to a super user. I.e | ||
+ | < | ||
< | < | ||
Line 100: | Line 103: | ||
systemctl restart mosquitto | systemctl restart mosquitto | ||
</ | </ | ||
+ | |||
+ | |||