per_listener_settings true listener 1883 localhost allow_anonymous true listener 8883 allow_anonymous false require_certificate true use_identity_as_username true cafile /mosquitto/certs/root.pem certfile /mosquitto/certs/broker.pem keyfile /mosquitto/certs/broker.key