mirror of
https://github.com/jhillyerd/inbucket.git
synced 2026-10-29 05:32:31 +00:00
feat: reload TLS certificates when their files change (#625)
This commit is contained in:
committed by
GitHub
parent
9876bb2bd9
commit
8075e8d2a3
@@ -243,6 +243,14 @@ to the public internet.
|
||||
|
||||
Enable the STARTTLS option for opportunistic TLS support
|
||||
|
||||
Inbucket checks the certificate and private key files on each full TLS handshake
|
||||
and reloads them when either file changes, so renewed certificates (for example
|
||||
from cert-manager) take effect without a restart. Clients that resume an
|
||||
earlier TLS session keep that session's certificate until their next full
|
||||
handshake. If a reload fails, Inbucket logs a warning, keeps serving the
|
||||
previous certificate, and tries again when the files change or after 30 seconds.
|
||||
The same applies to the POP3 TLS files.
|
||||
|
||||
- Default: `false`
|
||||
- Values: `true` or `false`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user