aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-22 14:24:26 +0100
committerKim Alvefur <zash@zash.se>2021-12-22 14:24:26 +0100
commit46a6dafd28fe8e39a39b2a3eb70d3abebc82c828 (patch)
treedf70c0e2e4bc1103ab25240b001f71c30ec14dda
parent184b0a62cb0c14f5026964cec643d9ad83df3c1f (diff)
downloadprosody-46a6dafd28fe8e39a39b2a3eb70d3abebc82c828.tar.gz
prosody-46a6dafd28fe8e39a39b2a3eb70d3abebc82c828.zip
core.certmanager: Rename preset option to 'tls_preset'
TLS good, SSL bad.
-rw-r--r--core/certmanager.lua2
-rw-r--r--util/prosodyctl/check.lua1
2 files changed, 2 insertions, 1 deletions
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",