fix: the sample configuration contains a non-existent configuration key

This commit is contained in:
Florian Grandel
2021-12-22 03:25:50 +01:00
parent 59fd3ec598
commit 273c71774b
2 changed files with 4 additions and 4 deletions

View File

@@ -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.
```

View File

@@ -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
#