Running mailcow-dockerized on Ubuntu 24.04. SSL certificate renewal stopped working recently.
The error log suggests a firewall issue, but that’s not the case - nginx works fine and the webUI is accessible. The real problem seems to be that the ACME challenge file isn’t being created anywhere.
Error from logs:
ValueError: Challenge did not pass for mail.mydomain.io: {'identifier': {'type': 'dns', 'value': 'mail.mydomain.io'}, 'status': 'invalid', 'expires': '2024-10-29T07:54:05Z', 'challenges': [{'type': 'http-01', 'url': 'https://acme-v02.api.letsencrypt.org/acme/chall-v3/419591644157/kGIG3w', 'status': 'invalid', 'validated': '2024-10-22T07:54:07Z', 'error': {'type': 'urn:ietf:params:acme:error:connection', 'detail': 'Timeout during connect (likely firewall problem)'}]}
pastebin:
https://pastebin.com/fzcPSLRk
It says likely a firewall problem but I think thats nonsense, ngnix works fine and webui is accessible alright.
Key points:
- /var/lib/acme is empty (no domain subdirectory exists)
- Can’t find or access the ACME challenge file anywhere
- Tried curl and browser, challenge file isn’t accessible
Only custom config is this volume override: (I didnt find ACME Challange files there)
version: '2.1'
volumes:
vmail-vol-1:
driver_opts:
type: none
device: /mnt/raid_storage/mailcow_vmail
o: bind
Any ideas where to look for the missing ACME challenge file?
How to fix this and ensure ACME works as intended?