As title says I have removed a domain from mailcow.conf.
However when I try to renew ssl it fails on removed domain. I’d like to extend SSL for current domains.
Log as follows
acme-mailcow_1 | Found domains: [my domains, also includes DELETED domain]
acme-mailcow_1 | Getting directory…
acme-mailcow_1 | Directory found!
acme-mailcow_1 | Registering account…
acme-mailcow_1 | Registered!
acme-mailcow_1 | Creating new order…
acme-mailcow_1 | Order created!
acme-mailcow_1 | Verifying autoconfig.aa.aa
acme-mailcow_1 | autoconfig.aa.aa verified!
acme-mailcow_1 | Verifying autoconfig.DELETEDDOMAIN…
acme-mailcow_1 | Traceback (most recent call last):
acme-mailcow_1 | File “/usr/bin/acme-tiny”, line 8, in <module>
acme-mailcow_1 | sys.exit(main())
acme-mailcow_1 | File “/usr/lib/python3.8/site-packages/acme_tiny.py”, line 194, in main
acme-mailcow_1 | signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca, disable_check=args.disable_check, directory_url=args.directory_url, contact=args.contact)
acme-mailcow_1 | File “/usr/lib/python3.8/site-packages/acme_tiny.py”, line 149, in get_crt
acme-mailcow_1 | raise ValueError(“Challenge did not pass for {0}: {1}”.format(domain, authorization))
acme-mailcow_1 | ValueError: Challenge did not pass for autoconfig.DELETEDDOMAIN: {‘identifier’: {‘type’: ‘dns’, ‘value’: ‘autoconfig.DELETEDDOMAIN’}, ‘status’: ‘invalid’, ‘expires’: ‘2021-01-06T06:14:12Z’, ‘challenges’: [{‘type’: ‘http-01’, ‘status’: ‘invalid’, ‘error’: {‘type’: ‘urn:ietf:params:acme:error:connection’, ‘detail’: ‘Fetching http://autoconfig.DELETEDDOMAIN/.well-known/acme-challenge/REzpycbW5HTggKlXJLLKlg2Pm7x3_QGY0PTLcJIG3QA: Connection refused’, ‘status’: 400}, ‘url’: ‘https://acme-v02.api.letsencrypt.org/acme/chall-v3/9684252739/qVPBow’, ‘token’: ‘REzpycbW5HTggKlXJLLKlg2Pm7×3_QGY0PTLcJIG3QA’, ‘validationRecord’: [{‘url’: ‘http://autoconfig.DELETEDDOMAIN/.well-known/acme-challenge/REzpycbW5HTggKlXJLLKlg2Pm7x3_QGY0PTLcJIG3QA’, ‘hostname’: ‘autoconfig.DELETEDDOMAIN’, ‘port’: ‘80’, ‘addressesResolved’: [‘SOMEIP’], ‘addressUsed’: ‘SOMEIP’}]}]}
acme-mailcow_1 | Wed Dec 30 14:14:30 +08 2020 - Failed to obtain certificate /var/lib/acme/mydomain/cert.pem for domains ‘my domains and DELETED domain’
acme-mailcow_1 | OK
acme-mailcow_1 | Wed Dec 30 14:14:30 +08 2020 - Some errors occurred, retrying in 30 minutes…