mirror of
https://github.com/chatmail/relay.git
synced 2026-06-13 07:01:07 +00:00
feat: support externally managed TLS via tls_external_cert_and_key option
Adds a new tls_external_cert_and_key config option for chatmail servers that manage their own TLS certificates (e.g. via an external ACME client or a load balancer). A systemd path unit (tls-cert-reload.path) watches the certificate file via inotify and automatically reloads dovecot and nginx when it changes. Postfix reads certs per TLS handshake so needs no reload. Also extracts openssl_selfsigned_args() so cert generation parameters are shared between SelfSignedTlsDeployer and the e2e test.
This commit is contained in:
@@ -95,3 +95,11 @@ jobs:
|
||||
- name: cmdeploy dns
|
||||
run: cmdeploy dns -v
|
||||
|
||||
test-tls-external:
|
||||
needs: deploy
|
||||
uses: ./.github/workflows/reusable-test-tls-external.yaml
|
||||
with:
|
||||
domain: staging2.testrun.org
|
||||
secrets:
|
||||
STAGING_SSH_KEY: ${{ secrets.STAGING_SSH_KEY }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user