Also reload SSL context on bip reload, allowing for SSL cert updates #16

Manually merged
bip merged 1 commits from Kyoshiro/bip:758_reload_ssl_certs_3 into master 2024-03-20 14:42:37 +01:00

1 Commits

Author SHA1 Message Date
Loïc Gomez
a03b12319a
Also reload SSL context on bip reload, allowing for SSL cert updates
- on BIP reload, check if SSL files are readable, and try to load new
  SSL context.
- on success only, update SSL context for new client connections

This allows for SSL certificate/key updates on /BIP reload or SIGHUP.

Signed-off-by: Loïc Gomez <bip@animanova.fr>
2024-03-20 22:42:01 +09:00