mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 10:05:00 +02:00
Add changedetector functionality for ${SSL_TYPE} == manual
(#2404)
Now, setups that use `SSL_TYPE=manual` will profit from the changedetector as well. Certificate changes are picked up and properly propagated.
This commit is contained in:
parent
54f2181379
commit
ec8b99335e
9 changed files with 545 additions and 494 deletions
|
@ -93,7 +93,6 @@ function teardown() {
|
|||
_should_not_have_fqdn_in_cert 'mail.example.test'
|
||||
}
|
||||
|
||||
|
||||
# When using `acme.json` (Traefik) - a wildcard cert `*.example.test` (SSL_DOMAIN)
|
||||
# should be extracted and be chosen over an existing FQDN `mail.example.test` (HOSTNAME):
|
||||
# _acme_wildcard should verify the FQDN `mail.example.test` is negotiated, not `example.test`.
|
||||
|
@ -166,6 +165,7 @@ function teardown() {
|
|||
_should_extract_on_changes 'example.test' "${LOCAL_BASE_PATH}/wildcard/rsa.acme.json"
|
||||
_should_have_service_restart_count '2'
|
||||
|
||||
# note: https://github.com/docker-mailserver/docker-mailserver/pull/2404 solves this
|
||||
# TODO: Make this pass.
|
||||
# As the FQDN has changed since startup, the configs need to be updated accordingly.
|
||||
# This requires the `changedetector` service event to invoke the same function for TLS configuration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue