aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-06-01 14:03:50 +0200
committerKim Alvefur <zash@zash.se>2017-06-01 14:03:50 +0200
commitbdab24d3dcfa9cd576e1f1548ef662c21c303008 (patch)
treeabfad7e8d275bd3d0e1b20d9c91b0eb304883acf
parent607f7ee607b814000ac65e1e032ee4a20c91116e (diff)
downloadprosody-bdab24d3dcfa9cd576e1f1548ef662c21c303008.tar.gz
prosody-bdab24d3dcfa9cd576e1f1548ef662c21c303008.zip
certmanager: Update the 'certificates' option after the config has been reloaded (fixes #929)
-rw-r--r--core/certmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 12ae94b1..2e237595 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -216,6 +216,7 @@ end
local function reload_ssl_config()
global_ssl_config = configmanager.get("*", "ssl");
+ global_certificates = configmanager.get("*", "certificates") or "certs";
if luasec_has.no_compression then
core_defaults.options.no_compression = configmanager.get("*", "ssl_compression") ~= true;
end