summaryrefslogtreecommitdiff
path: root/settings.cfg.example
diff options
context:
space:
mode:
authorErg <uinarf@autistici.org>2024-11-27 17:03:03 +0100
committerErg <uinarf@autistici.org>2024-11-27 17:03:03 +0100
commitf50222fc531eb700b9f4afa92d55ac424f2a499f (patch)
tree1b7b9b27321be75703355356274d298b92406378 /settings.cfg.example
parent83c4d2e1b9213c78b0b472a1ed4484cf2590531f (diff)
downloadMQTT_for_pie-f50222fc531eb700b9f4afa92d55ac424f2a499f.tar.gz
MQTT_for_pie-f50222fc531eb700b9f4afa92d55ac424f2a499f.tar.bz2
MQTT_for_pie-f50222fc531eb700b9f4afa92d55ac424f2a499f.zip
Add settings.cfg.example and certificate validity checkHEADmaster
Diffstat (limited to 'settings.cfg.example')
-rw-r--r--settings.cfg.example11
1 files changed, 7 insertions, 4 deletions
diff --git a/settings.cfg.example b/settings.cfg.example
index 0cdbc45..653610e 100644
--- a/settings.cfg.example
+++ b/settings.cfg.example
@@ -1,7 +1,6 @@
[Main]
data_length_limit = 10
timeformat = %Y-%m-%d %H:%M:%S
-topic = temperature
y_max = 51
y_min = -20
x_limit = 2000
@@ -9,10 +8,13 @@ interval = 5000
[Certificates]
ssl = True
-certificate_directory =
+grace_period = # Grace period within which certificates should be renewed
+# Need full paths to files:
ca_crt =
-cert_file =
-key_file =
+server_cert_file =
+server_key_file =
+client_cert_file =
+client_key_file =
[Sensor_mapping]
upper =
@@ -23,3 +25,4 @@ hostname =
port = 8883
keepalive = 60
topic = temperature
+topic_cert_renewal = cert_renewal