From 46a6dafd28fe8e39a39b2a3eb70d3abebc82c828 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 22 Dec 2021 14:24:26 +0100 Subject: core.certmanager: Rename preset option to 'tls_preset' TLS good, SSL bad. --- core/certmanager.lua | 2 +- util/prosodyctl/check.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/certmanager.lua b/core/certmanager.lua index 1f5d8693..e2324db5 100644 --- a/core/certmanager.lua +++ b/core/certmanager.lua @@ -343,7 +343,7 @@ local function create_context(host, mode, ...) 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 diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index 2c102ec2..71eda62d 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -190,6 +190,7 @@ local function check(arg) "statistics_config", "statistics_interval", "tcp_keepalives", + "tls_profile", "trusted_proxies", "umask", "use_dane", -- cgit v1.2.3