From f50222fc531eb700b9f4afa92d55ac424f2a499f Mon Sep 17 00:00:00 2001 From: Erg Date: Wed, 27 Nov 2024 17:03:03 +0100 Subject: Add settings.cfg.example and certificate validity check --- settings.cfg.example | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'settings.cfg.example') 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 -- cgit v1.2.3-65-gdbad