aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r--core/certmanager.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index a2d76671..1f5d8693 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -344,7 +344,9 @@ local function create_context(host, mode, ...)
});
cfg:apply(global_ssl_config);
local preset = configmanager.get("*", "ssl_preset") or "intermediate";
- cfg:apply(mozilla_ssl_configs[preset]);
+ if preset ~= "legacy" then
+ cfg:apply(mozilla_ssl_configs[preset]);
+ end
for i = select('#', ...), 1, -1 do
cfg:apply(select(i, ...));