1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-10-29 13:42:30 +00:00

feat: reload TLS certificates when their files change (#625)

This commit is contained in:
Antoine Deschênes
2026-10-05 17:49:35 -04:00
committed by GitHub
parent 9876bb2bd9
commit 8075e8d2a3
6 changed files with 447 additions and 6 deletions
+8
View File
@@ -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`