Attempt 1
This commit is contained in:
13
Chirpstack_v4/configuration/mosquitto/config/mosquitto.conf
Normal file
13
Chirpstack_v4/configuration/mosquitto/config/mosquitto.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
# listener 1883
|
||||
# allow_anonymous true
|
||||
|
||||
listener 8883
|
||||
protocol mqtt
|
||||
|
||||
cafile /mosquitto/certs/ca.pem
|
||||
certfile /mosquitto/certs/server.pem
|
||||
keyfile /mosquitto/certs/server.key
|
||||
|
||||
require_certificate true # enforce client cert
|
||||
use_identity_as_username true # CN becomes MQTT username
|
||||
allow_anonymous true # optional: false for strict auth
|
||||
Reference in New Issue
Block a user