I get a daily error from acme.sh, which tries to renew a certificate when the correspondig site alias has been removed using ISPConfig 3. Specifically, after site alias new.mydomain.com has been deleted, the error messages (anonymized) are : Code: [mer. 20 mai 2026 05:16:15 CEST] new.mydomain.com: Invalid status. Verification error details: DNS problem: NXDOMAIN looking up A for new.mydomain.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for new.mydomain.com - check that a DNS record exists for this domain [mer. 20 mai 2026 05:16:15 CEST] Please check log file for more details: /var/log/ispconfig/acme.log [mer. 20 mai 2026 05:16:15 CEST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 3 [mer. 20 mai 2026 05:16:16 CEST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 3 [mer. 20 mai 2026 05:16:17 CEST] Error renewing mydomain.com. The logs show basically the same information. The problem is trying to renew a certificate for a domain alias that no longer exists. Apparently, there exists somewhere a lingering pointer for acme.sh to this alias, but I cannot find where it is. Any ideas ?
I would search through the acme folder and see where the domain in question is configured. The path is /root/.acme.sh/
Uncheck, save and re-check Let's Encrypt in the website config of which the domain was an alias. That should rewrite the main domain's acme config and thus remove the alias.
Ah ! Yes it does. It is in the .conf and .csr.conf file of mydomain.com Is it safe to just remove it from these 2 files ?
Try what @remkoh suggested and disable the SSL/LE Configuration for that webspace once and then reenable and see if it removes it then.
Then you can try editing it manually. But maybe you have this alias in ISPConfig, and that's why it's still there?
The alias in ISPConfig was deleted first thing. The problem survived that (actually, the deletion triggered it). I will try the manual edit and report before/after. 48h cycle
Manually editing out references to the subdomain from files .conf and .csr.conf of the top level domain solved the problem.