From 880b319bfd0e479c02350865c6b60cbc237491cc Mon Sep 17 00:00:00 2001 From: Bernd Storath Date: Mon, 10 Jun 2024 16:09:34 +0200 Subject: [PATCH] Update sslmode options in config template. (#433) --- chirpstack/src/cmd/configfile.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/chirpstack/src/cmd/configfile.rs b/chirpstack/src/cmd/configfile.rs index e1e8d3c6..acc1ce06 100644 --- a/chirpstack/src/cmd/configfile.rs +++ b/chirpstack/src/cmd/configfile.rs @@ -29,10 +29,9 @@ pub fn run() { # Format example: postgres://:@/?sslmode=. # # SSL mode options: - # * disable - no SSL - # * require - Always SSL (skip verification) - # * verify-ca - Always SSL (verify that the certificate presented by the server was signed by a trusted CA) - # * verify-full - Always SSL (verify that the certification presented by the server was signed by a trusted CA and the server host name matches the one in the certificate) + # * disable - Do not use TLS + # * prefer - Attempt to connect with TLS but allow sessions without + # * require - Require the use of TLS dsn="{{ postgresql.dsn }}" # Max open connections.