table of contents
MOSQUITTO-TLS(7) | Conventions and miscellaneous | MOSQUITTO-TLS(7) |
NAME¶
mosquitto-tls - Configure SSL/TLS support for MosquittoDESCRIPTION¶
mosquitto provides SSL support for encrypted network connections and authentication. This manual describes how to create the files needed.Note
It is important to use different certificate subject parameters for your CA, server and clients. If the certificates appear identical, even though generated separately, the broker/client will not be able to distinguish between them and you will experience difficult to diagnose errors.
CERTIFICATE AUTHORITY¶
Generate a certificate authority certificate and key.SERVER¶
Generate a server key.Generate a server key without encryption.
Generate a certificate signing request to send to the CA.
Send the CSR to the CA, or sign it with your CA key:
CLIENT¶
Generate a client key.Generate a certificate signing request to send to the CA.
Send the CSR to the CA, or sign it with your CA key:
SEE ALSO¶
mosquitto(8), mosquitto-conf(5)AUTHOR¶
Roger Light <roger@atchoo.org>08/16/2016 | Mosquitto Project |