Updated example and sample config to run mosquitto on 2 ports: 1883 and 8883

This commit is contained in:
bj
2020-10-23 12:37:06 +02:00
parent 2c6071ea79
commit 7197e9aa92
4 changed files with 13 additions and 5 deletions
+10 -2
View File
@@ -1,7 +1,15 @@
listener 8883
websockets_log_level 9
connection_messages true
log_type all
websockets_log_level 9
listener 1883
cafile /mosquitto/config/ca.crt
#keyfile /mosquitto/config/mqtt.example.com.key
#certfile /mosquitto/config/mqtt.example.com.crt
require_certificate true
use_identity_as_username true
listener 8883
cafile /mosquitto/config/ca.crt
keyfile /mosquitto/config/mqtt.example.com.key
certfile /mosquitto/config/mqtt.example.com.crt