fix(S2-a): keep broker credential database outside Git
This commit is contained in:
@@ -26,6 +26,12 @@ The TLS listeners use `mosquitto/certs/public-fullchain.pem` and
|
||||
deployment with owner `1883:1883` and mode `0600`. These files are deployment secrets/artifacts
|
||||
and are excluded from Git.
|
||||
|
||||
The live password database is likewise outside Git at
|
||||
`/home/ubuntu/.config/ul-platform/mosquitto.passwd`, bind-mounted read-only as
|
||||
`/mosquitto/secrets/passwd`. Provisioning updates that host file and restarts Mosquitto; the
|
||||
tracked `mosquitto/config/passwd` is only a legacy/bootstrap sample and must not receive new
|
||||
organization credentials.
|
||||
|
||||
Device authentication happens on **port 8883**. A device presents a client
|
||||
certificate signed by the app's own Certificate Authority (CA); Mosquitto
|
||||
verifies the chain and uses the certificate's Common Name (CN) as the MQTT
|
||||
|
||||
Reference in New Issue
Block a user