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 | f65858dd27db2c7d20d80d962e6b4b7ca2858374 (patch) | |
tree | abfad7e8d275bd3d0e1b20d9c91b0eb304883acf /core/certmanager.lua | |
parent | 4afac948b9edc08d68b09f0dfe76be82a2cfb6f9 (diff) | |
download | prosody-f65858dd27db2c7d20d80d962e6b4b7ca2858374.tar.gz prosody-f65858dd27db2c7d20d80d962e6b4b7ca2858374.zip |
certmanager: Update the 'certificates' option after the config has been reloaded (fixes #929)
Diffstat (limited to 'core/certmanager.lua')
-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 |