Hello.
Error while renewing the certificate.
What am I doing wrong?
Every time a certificate is renewed, dances with a tambourine begin!
certbot -q renew --allow-subset-of-names
Challenge failed for domain my_domain.ru
Challenge failed for domain www.my_domain.ru
Attempting to renew cert (my_domain.ru) from /usr/local/etc/letsencrypt/renewal/my_domain.ru.conf produced an unexpected error: Challenges failed for all domains. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/usr/local/etc/letsencrypt/live/my_domain.ru/fullchain.pem (failure)
ls -al /usr/local/etc/letsencrypt/live/my_domain.ru/fullchain.pem
Well, that's just a rate limit error, it doesn't tell you why authorizations have actually been failing.
That rate limit is only 1 hour.
You can try to figure out the real issue by examining earlier logs from /var/log/letsencrypt/, or by using "certbot renew --dry-run" (which can sometimes fail for different reasons), or just wait a while and try "certbot renew" again.
Using --allow-subset-of-names is also obscuring the specific problem here. It would be more helpful to see the Certbot output or a log file when you try to renew without --allow-subset-of-names.
The --allow-subset-of-names causes validation failures to be ignored, which is not necessarily what you want normally, and definitely not what you want for debugging purposes!