# Config file for mosquitto # # See mosquitto.conf(5) for more information. # Global settings for all listeners log_type all log_timestamp_format %Y-%m-%dT%H:%M:%S allow_anonymous true # Default listener with TLS on localhost:8883 # ================================================================= listener 8883 127.0.0.1 cafile certs/cacert.pem certfile certs/servercert.pem keyfile certs/serverkey.pem # Extra listener without TLS on localhost:1883 # ================================================================= listener 1883 127.0.0.1 # Websockets listener on localhost:9001 # ================================================================= listener 9001 127.0.0.1 protocol websockets # Websockets listener with TLS on localhost:9002 # ================================================================= listener 9002 127.0.0.1 protocol websockets cafile certs/cacert.pem certfile certs/servercert.pem keyfile certs/serverkey.pem