Hi.
I have a default cron job "Renew Let's Encrypt Certificate".
It calls /www/server/panel/pyenv/bin/python -u /www/server/panel/class/acme_v2.py --renew=1
Also, I used to have some domains. But then I have deleted part of them from AApanel. Other part was disabled in AApanel.
All these domains are absent on the "Website" page of the panel.
In logs of the job I see that it tries to renew ssl certificate for these domains.
acme_v2.py --renew=1 doesn't look if the domain is exist or active.
It just takes all of tasks from the /www/server/panel/config/letsencrypt.json and renews certificates.
Of course the renewing fails and then the script gets a lot of errors 429 from the lets' encrypt api.
Could you please add task removing in letsencrypt.json if domain is deleted or disabled.
Or add check to the acmev2.