Software /
code /
prosody
Diff
core/certmanager.lua @ 8159:3850993a9bda
certmanager: Update the 'certificates' option after the config has been reloaded (fixes #929)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 01 Jun 2017 14:03:50 +0200 |
parent | 7743:d018ffc9238c |
child | 8259:db063671b73e |
line wrap: on
line diff
--- a/core/certmanager.lua Sat May 27 17:19:15 2017 +0200 +++ b/core/certmanager.lua Thu Jun 01 14:03:50 2017 +0200 @@ -216,6 +216,7 @@ 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