Changeset

12099:b344edad61d3

core.certmanager: Rename preset option to 'tls_preset' TLS good, SSL bad.
author Kim Alvefur <zash@zash.se>
date Wed, 22 Dec 2021 14:24:26 +0100
parents 12098:9591b838e3b0
children 12100:0b14b541fd27
files core/certmanager.lua util/prosodyctl/check.lua
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/certmanager.lua	Wed Dec 22 14:12:10 2021 +0100
+++ b/core/certmanager.lua	Wed Dec 22 14:24:26 2021 +0100
@@ -343,7 +343,7 @@
 		password = function() log("error", "Encrypted certificate for %s requires 'ssl' 'password' to be set in config", host); end;
 	});
 	cfg:apply(global_ssl_config);
-	local preset = configmanager.get("*", "ssl_preset") or "intermediate";
+	local preset = configmanager.get("*", "tls_preset") or "intermediate";
 	if preset ~= "legacy" then
 		cfg:apply(mozilla_ssl_configs[preset]);
 	end
--- a/util/prosodyctl/check.lua	Wed Dec 22 14:12:10 2021 +0100
+++ b/util/prosodyctl/check.lua	Wed Dec 22 14:24:26 2021 +0100
@@ -190,6 +190,7 @@
 			"statistics_config",
 			"statistics_interval",
 			"tcp_keepalives",
+			"tls_profile",
 			"trusted_proxies",
 			"umask",
 			"use_dane",