Created
October 11, 2019 09:58
-
-
Save TiMladenov/5700a23d618b6110ce35a943243cfb04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pid_file /var/run/mosquitto.pid | |
persistence true | |
persistence_location /var/lib/mosquitto/ | |
log_dest file /var/log/mosquitto/mosquitto.log | |
include_dir /etc/mosquitto/conf.d | |
listener 8883 0.0.0.0 | |
protocol mqtt | |
#Update this to fit your own file location | |
cafile /etc/mosquitto/certs/ca-cert.pem | |
keyfile /etc/mosquitto/certs/server-key.pem | |
certfile /etc/mosquitto/certs/server-cert.pem | |
require_certificate true | |
use_identity_as_username true | |
allow_anonymous false | |
listener 1883 localhost | |
protocol mqtt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment