From 273c71774b10b2c0c41cbde9fdf06b1b5d5a80ba Mon Sep 17 00:00:00 2001 From: Florian Grandel Date: Wed, 22 Dec 2021 03:25:50 +0100 Subject: [PATCH] fix: the sample configuration contains a non-existent configuration key --- MQTTSNGateway/README.md | 6 +++--- MQTTSNGateway/gateway.conf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MQTTSNGateway/README.md b/MQTTSNGateway/README.md index 21f9d4e..0e57fad 100644 --- a/MQTTSNGateway/README.md +++ b/MQTTSNGateway/README.md @@ -69,17 +69,17 @@ BrokerSecurePortNo=8883 **BrokerSecurePortNo** is a broker's port no of TLS connection. ``` # -# CertsKey for TLS connections to a broker +# CertKey for TLS connections to a broker # #RootCAfile=/etc/ssl/certs/ca-certificates.crt #RootCApath=/etc/ssl/certs/ -#CertsKey=/path/to/certKey.pem +#CertKey=/path/to/certKey.pem #PrivateKey=/path/to/privateKey.pem ``` **RootCAfile** is a CA file name. **RootCApath** is a CA path. **SSL_CTX_load_verify_locations(ctx, CAfile, CApath)** function requires these parameters. -**CertsKey** is a certificate pem file. +**CertKey** is a certificate pem file. **PrivateKey** is a private key pem file. Clients can connect to the broker via TLS by setting '**Secure Connection**' for each client in the client conf file. ``` diff --git a/MQTTSNGateway/gateway.conf b/MQTTSNGateway/gateway.conf index b3ad2a4..929e1f4 100644 --- a/MQTTSNGateway/gateway.conf +++ b/MQTTSNGateway/gateway.conf @@ -31,7 +31,7 @@ BrokerSecurePortNo=8883 #RootCAfile=/etc/ssl/certs/ca-certificates.crt #RootCApath=/etc/ssl/certs/ -#CertsKey=/path/to/certKey.pem +#CertKey=/path/to/certKey.pem #PrivateKey=/path/to/privateKey.pem #