aboutsummaryrefslogtreecommitdiffstats
path: root/core
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 /core
parent184b0a62cb0c14f5026964cec643d9ad83df3c1f (diff)
downloadprosody-46a6dafd28fe8e39a39b2a3eb70d3abebc82c828.tar.gz
prosody-46a6dafd28fe8e39a39b2a3eb70d3abebc82c828.zip
core.certmanager: Rename preset option to 'tls_preset'
TLS good, SSL bad.
Diffstat (limited to 'core')
-rw-r--r--core/certmanager.lua2
1 files changed, 1 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