aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r--core/certmanager.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index a7a44a4c..a3b37bb4 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -350,9 +350,9 @@ local function create_context(host, mode, ...)
-- We can't read the password interactively when daemonized
password = function() log("error", "Encrypted certificate for %s requires 'ssl' 'password' to be set in config", host); end;
});
- local preset = configmanager.get("*", "tls_preset") or "intermediate";
- if preset ~= "legacy" then
- cfg:apply(mozilla_ssl_configs[preset]);
+ local profile = configmanager.get("*", "tls_profile") or "intermediate";
+ if profile ~= "legacy" then
+ cfg:apply(mozilla_ssl_configs[profile]);
end
cfg:apply(global_ssl_config);