diff options
author | Kim Alvefur <zash@zash.se> | 2017-06-01 14:03:50 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-06-01 14:03:50 +0200 |
commit | bdab24d3dcfa9cd576e1f1548ef662c21c303008 (patch) | |
tree | abfad7e8d275bd3d0e1b20d9c91b0eb304883acf /core | |
parent | 607f7ee607b814000ac65e1e032ee4a20c91116e (diff) | |
download | prosody-bdab24d3dcfa9cd576e1f1548ef662c21c303008.tar.gz prosody-bdab24d3dcfa9cd576e1f1548ef662c21c303008.zip |
certmanager: Update the 'certificates' option after the config has been reloaded (fixes #929)
Diffstat (limited to 'core')
-rw-r--r-- | core/certmanager.lua | 1 |
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 |