mosquitto.conf (374B)
1 per_listener_settings true 2 persistence_location /mosquitto/data/ 3 4 #log_type all 5 log_timestamp_format %Y-%m-%dT%H:%M:%S 6 7 listener 1883 8 allow_anonymous true 9 10 listener 8883 11 allow_anonymous false 12 13 require_certificate true 14 cafile /mosquitto/config/certs/ca.crt 15 certfile /mosquitto/config/certs/server.crt 16 keyfile /mosquitto/config/certs/server.key 17 18 use_identity_as_username true