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
commitf65858dd27db2c7d20d80d962e6b4b7ca2858374 (patch)
treeabfad7e8d275bd3d0e1b20d9c91b0eb304883acf
parent4afac948b9edc08d68b09f0dfe76be82a2cfb6f9 (diff)
downloadprosody-f65858dd27db2c7d20d80d962e6b4b7ca2858374.tar.gz
prosody-f65858dd27db2c7d20d80d962e6b4b7ca2858374.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