aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r--core/certmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 5de604f7..6b31b21e 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -11,7 +11,7 @@ local resolve_path = prosody.resolve_relative_path;
module "certmanager"
-- Global SSL options if not overridden per-host
-local default_ssl_config = configmanager.get("*", "core", "ssl");
+local default_ssl_config = configmanager.get("*", "core", "ssl") or {};
function create_context(host, mode, config)
if not ssl then return nil; end