Configuració de MQTTS a un servidor remot basat en Debian 9

De Wiki d'en Jordi Binefa
Dreceres ràpides: navegació, cerca

Generació dels certificats TLS

root@remot:/etc/mosquitto# cd /etc/mosquitto/certs/
root@remot:/etc/mosquitto/certs# wget https://raw.githubusercontent.com/owntracks/tools/master/TLS/generate-CA.sh
root@remot:/etc/mosquitto/certs# chmod +x generate-CA.sh 
root@remot:/etc/mosquitt/certso#  HOSTLIST="broker.electronics.cat" ./generate-CA.sh broker.electronics.cat


en construcció / under construction