From 39b7c5fcfd9a46d7be3fe207da747e15be10b669 Mon Sep 17 00:00:00 2001 From: Damian Myrda Date: Sat, 7 Sep 2024 22:57:41 -0500 Subject: [PATCH] Fix ssl --- compose.yml | 3 +-- mail/env | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/compose.yml b/compose.yml index 2086e8d..1328fec 100644 --- a/compose.yml +++ b/compose.yml @@ -38,7 +38,7 @@ services: - ./mail/state/:/var/mail-state/ - ./mail/logs/:/var/log/mail/ - ./mail/config/:/tmp/docker-mailserver/ - - ./web/data/certificates/:/etc/certificates/ + - ./web/data/certificates/acme.zerossl.com-v2-dv90/mail.prime8.dev/:/etc/certificates/ depends_on: - web cap_add: @@ -48,4 +48,3 @@ services: timeout: 3s retries: 0 restart: always - stop_grace_period: 1m diff --git a/mail/env b/mail/env index 149f5a3..9165f88 100644 --- a/mail/env +++ b/mail/env @@ -242,8 +242,8 @@ SSL_TYPE=manual # These are only supported with `SSL_TYPE=manual`. # Provide the path to your cert and key files that you've mounted access to within the container. -SSL_CERT_PATH=/etc/certificates/acme-v02.api.letsencrypt.org-directory/mail.prime8.dev/mail.prime8.dev.crt -SSL_KEY_PATH=/etc/certificates/acme-v02.api.letsencrypt.org-directory/mail.prime8.dev/mail.prime8.dev.key +SSL_CERT_PATH=/etc/certificates/mail.prime8.dev.crt +SSL_KEY_PATH=/etc/certificates/mail.prime8.dev.key # Optional: A 2nd certificate can be supported as fallback (dual cert support), eg ECDSA with an RSA fallback. # Useful for additional compatibility with older MTA and MUA (eg pre-2015). SSL_ALT_CERT_PATH= -- 2.43.4