mirror of
https://github.com/ferdzo/iotDashboard.git
synced 2026-04-05 09:06:26 +00:00
Functioning device manager with renew,revoke, updated model for cert id
This commit is contained in:
3
infrastructure/.gitignore
vendored
Normal file
3
infrastructure/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
mosquitto/certs/
|
||||
mosquitto/data/
|
||||
mosquitto/logs/
|
||||
@@ -15,7 +15,7 @@ services:
|
||||
- "9001:9001"
|
||||
- "8883:8883"
|
||||
volumes:
|
||||
- ./mosquitto/:/mosquitto/config/
|
||||
- ./mosquitto/:/mosquitto/
|
||||
restart: unless-stopped
|
||||
|
||||
timescaledb:
|
||||
|
||||
@@ -3,7 +3,7 @@ persistence true
|
||||
persistence_location /mosquitto/data/
|
||||
|
||||
# Logging
|
||||
log_dest file /mosquitto/log/mosquitto.log
|
||||
#log_dest file /mosquitto/log/mosquitto.log
|
||||
|
||||
# Standard MQTT listener (for testing without certs)
|
||||
listener 1883
|
||||
@@ -15,11 +15,14 @@ allow_anonymous true
|
||||
protocol mqtt
|
||||
|
||||
# Server certificates (mosquitto's identity)
|
||||
certfile /mosquitto/config/server.crt
|
||||
keyfile /mosquitto/config/server.key
|
||||
certfile /mosquitto/certs/server.crt
|
||||
keyfile /mosquitto/certs/server.key
|
||||
|
||||
# CA certificate to verify client certificates
|
||||
cafile /mosquitto/config/ca.crt
|
||||
cafile /mosquitto/certs/ca.crt
|
||||
|
||||
# CRL file
|
||||
crlfile /mosquitto/certs/ca.crl
|
||||
|
||||
# Certificate-based authentication
|
||||
require_certificate true
|
||||
Reference in New Issue
Block a user