How to install Mosquitto on VPS with LetsEncrypt. MQTT Mosquitto Broker part 5.
Custom Automation
0:00 / 0:00
How to install Mosquitto on VPS with LetsEncrypt. MQTT Mosquitto Broker part 5.
1 588 просмотров · 3 года назад
Custom Automation
761 подписчик
1 588 просмотров · 3 года назад
Install and configure mosquitto broker to use TLS/SSL cerificates from Lets Encrypt.
Link to "MQTT Mosquitto broker" playlist:
• MQTT Mosquitto Broker.
Text file with ready to copy/paste commands available to download in ZIP file from my website in Knowlege base section:
custom-automation.co.uk
As I says on video chmod -r 555 command it's not the best method of giving permisions for cerificates files, another method can be use by installing ACL:
sudo apt-get install acl
And use the commands:
sudo setfacl -R -m u:mosquitto:rX /etc/mosquitto/certs/{server.key,server.crt}
sudo setfacl -R -m u:mosquitto:rX /etc/mosquitto/ca_certificates{ca.crt}
Websites:
https://letsencrypt.org/
https://mosquitto.org/blog/2015/12/us...
https://certbot.eff.org/instructions?...
https://letsencrypt.org/certs/isrgroo...