From f71cea771693991c42fdec5d65bd04e3ae8c017c Mon Sep 17 00:00:00 2001 From: Fabio De Simone Date: Wed, 22 Feb 2023 14:19:47 +0100 Subject: [PATCH] Fix configfile command template (#124) The template was not rendering integration.mqtt.client.ca_key and integration.mqtt.client.ca_cert correctly. --- chirpstack/src/cmd/configfile.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chirpstack/src/cmd/configfile.rs b/chirpstack/src/cmd/configfile.rs index 354f1881..a3f640c3 100644 --- a/chirpstack/src/cmd/configfile.rs +++ b/chirpstack/src/cmd/configfile.rs @@ -382,8 +382,8 @@ pub fn run() { # will generate client certificates which can be used by the MQTT clients for # authentication and authorization. The Common Name of the certificate will # be set to the ID of the application. - ca_key="{{ integration.mqtt.ca_key }}" - ca_cert="{{ integration.mqtt.ca_cert }}" + ca_key="{{ integration.mqtt.client.ca_key }}" + ca_cert="{{ integration.mqtt.client.ca_cert }}" # Certificate lifetime. #