Ok, thanks both @esackbauer and @IdrisK for your replies. Right so it seems quite tricky this issue.
Here is an acme log result from today:
Mon Apr 22 11:46:24 BST 2024 - Waiting for Docker API...
Mon Apr 22 11:46:24 BST 2024 - Docker API OK
Mon Apr 22 11:46:24 BST 2024 - Waiting for Postfix...
Mon Apr 22 11:46:24 BST 2024 - Postfix OK
Mon Apr 22 11:46:24 BST 2024 - Waiting for Dovecot...
Mon Apr 22 11:46:24 BST 2024 - Dovecot OK
Mon Apr 22 11:46:24 BST 2024 - Waiting for database...
Mon Apr 22 11:46:24 BST 2024 - Database OK
Mon Apr 22 11:46:24 BST 2024 - Waiting for Nginx...
Mon Apr 22 11:46:24 BST 2024 - Nginx OK
Mon Apr 22 11:46:24 BST 2024 - Waiting for resolver...
Mon Apr 22 11:46:24 BST 2024 - Resolver OK
Mon Apr 22 11:46:24 BST 2024 - Waiting for domain table...
OK
Mon Apr 22 11:46:24 BST 2024 - Initializing, please wait...
Mon Apr 22 11:46:24 BST 2024 - Using existing domain rsa key /var/lib/acme/acme/key.pem
Mon Apr 22 11:46:24 BST 2024 - Using existing Lets Encrypt account key /var/lib/acme/acme/account.pem
Mon Apr 22 11:46:24 BST 2024 - Detecting IP addresses...
Mon Apr 22 11:46:24 BST 2024 - OK: 1.2.3.4, 2001::0000
Mon Apr 22 11:46:25 BST 2024 - Found AAAA record for mail.domain.com.: 2001::0000 - skipping A record check
Mon Apr 22 11:46:25 BST 2024 - Confirmed AAAA record with IP 2001::0000
Mon Apr 22 11:46:25 BST 2024 - Certificate /var/lib/acme/mail.domain.com./cert.pem doesn't exist yet or forced renewal - start obtaining
Mon Apr 22 11:46:25 BST 2024 - Creating backups in /var/lib/acme/backups/mail.domain.com./2024-04-22_11_46_25 ...
Mon Apr 22 11:46:25 BST 2024 - Checking resolver...
Mon Apr 22 11:46:25 BST 2024 - Resolver OK
Mon Apr 22 11:46:25 BST 2024 - Using command acme-tiny --account-key /var/lib/acme/acme/account.pem --disable-check --csr /var/lib/acme/mail.domain.com./acme.csr --acme-dir /var/www/acme/
Parsing account key...
Parsing CSR...
Found domains: mail.domain.com.
Getting directory...
Directory found!
Registering account...
Already registered! Account ID: https://acme-v02.api.letsencrypt.org/acme/acct/1359439836
Creating new order...
Order created!
Already verified: mail.domain.com., skipping...
Signing certificate...
Certificate signed!
Mon Apr 22 11:46:32 BST 2024 - Deploying certificate /var/lib/acme/mail.domain.com./cert.pem...
Mon Apr 22 11:46:32 BST 2024 - Verified hashes.
Mon Apr 22 11:46:32 BST 2024 - Certificate successfully obtained
Mon Apr 22 11:46:32 BST 2024 - Reloading or restarting services... (1)
Reloading Nginx...
Restarting 84b5ae145e96adbfaac52d6c2af89617416d2232189534ce9743b92ddae5a4ed...
command completed successfully
Restarting 62e8476df215c3d2b605d03d9d67a6839cd88c4741151d1c76270f7ea8bee5fa...
command completed successfully
Mon Apr 22 11:46:38 BST 2024 - Waiting for containers to settle...
Mon Apr 22 11:46:48 BST 2024 - Certificates were successfully renewed where required, sleeping for another day.
Every set of log entries looks identical to this, with different date/time stamps. This particular one is from after I manually added:
/opt/mailcow-dockerized/data/assets/ssl/force_renew
And ran:
docker compose restart acme-mailcow
But the log set looks the same whether I force renew or not.
Also I have added the following into /opt/mailcow-dockerized/mailcow.conf:
ADDITIONAL_SAN=serverhostname.domain.com,autoconfig.maildomain1.org.uk,autodiscover.maildomain1.org.uk
ADDITIONAL_SERVER_NAMES=serverhostname.domain.com,autoconfig.maildomain1.org.uk,autodiscover.maildomain1.org.uk
This may be overkill, but the acme system is not responding to any of it. Similarly I previously tried:
ADDITIONAL_SAN=autoconfig.*,autodiscover.*
And that also did nothing different. Please ask me more questions or for more log details etc.
I’m guessing this is an acme-tiny bug?