2022-09-14 02:03:17 +08:00
|
|
|
# per_listener_settings true
|
2022-04-13 05:19:24 +08:00
|
|
|
|
2022-09-14 02:03:17 +08:00
|
|
|
# listener 8883
|
|
|
|
# allow_anonymous false
|
|
|
|
# require_certificate true
|
|
|
|
# use_identity_as_username true
|
|
|
|
# cafile /mosquitto/certs/root.pem
|
|
|
|
# certfile /mosquitto/certs/server.pem
|
|
|
|
# keyfile /mosquitto/certs/server.key
|
|
|
|
|
|
|
|
# listener 1883
|
|
|
|
# allow_anonymous true
|
|
|
|
|
|
|
|
per_listener_settings false
|
2022-07-08 20:47:17 +08:00
|
|
|
|
|
|
|
listener 1883
|
2022-09-14 02:03:17 +08:00
|
|
|
allow_anonymous false
|
|
|
|
plugin /usr/lib/mosquitto_dynamic_security.so
|
|
|
|
plugin_opt_config_file /mosquitto/config/dynamic-security.json
|
|
|
|
|