Hello,
Since few weeks, i can’t renew few of my certs who have the same domain.
I have this message: “There were too many requests of a given type :: Error creating new cert :: too many certificates already issued for exact set of domains”.
And when i check one of this, i see a lot of certs:
You didn’t give too much info but seems the renews follow a pattern (once on Tuesday, twice on Wednesday, twice on Thursday and once on Saturday) and so on… you shoud check if you have a task, cronjob, etc. in your server and review what the automated command does because it is not checking whether the certs need to be renewed, it is renewing them always.
Hi @sahsanu,
Thanks for your reply. Indeed, I have a crontab every monday who try to renew all certs who gonna expires.
I just came to disable this cron. When i will be able to renew my certs ?
Wich info do you need ?
Have a nice day.
None of the certs you are showing in the screenshot have been renewed on Monday so, are you sure this is the only cron job running in your server? If it is, are you sure it is running only every Monday?.
You should already have your certs renewed. I don't know if the certificates showed in the screenshot are for the same subset of domains but next Tuesday seems a good date to be able to renew them.
In my crontab i have:
0 0 * * 1 /scripts/renewCerts.sh >/dev/null 2> /var/log/cron.error.log
My script renew and send an email with the output of the script.
I use certbot, it’s can be him who try to renew ?
Thanks
So you definitely must have something else trying to get these certificates. It’s interesting to see that the issuance events happen at about two different times of day, around 23:00 or 10:00 UTC. (The certificate notBefore date will be set to one hour prior to the true issuance time to reduce problems for clients that have their time set incorrectly.)
What kind of software runs on this machine? Are you using any sort software like Caddy or cPanel that might include its own certifical-renewal code?
I haven’t any pannel, i use certbot standalone, nginx and crontab for automatization.
Can i see who try to renew ? By IP or by any other information ?
Thanks
I'm hesitant to give out specifics like IP addresses or email addresses. I can say the following:
it seems to always be the same UA, Certbot 0.10.2, requesting a new-cert for the www.web01.pixelads.fr domain (and other pixellads.fr domains)
it's always the same ACME account, even for the requests hitting the rate limit (I assume some of those must be the OP). The account email is something at the base domain being requested.
the requests all come from the same IPv6 address
I'm not sure how to suggest @baptiste finds this certbot installation. It certainly seems like there is one that is going off-the-rails.
How many time i must wait to can renew my certs ?
If i remove certbot from my server during one week, i gonna haven’t any renew ? Can i keep my certs ?
This solution is the last one
Thanks for all
Maybe you can look in /var/log/letsencrypt to see if you have evidence that Certbot is somehow still being run on this system? Every time it runs, it should create a new log file there.
@baptiste, according to my calculations, you should be able to renew already. Of course, it would be great to understand why the previous unintended renewals were happening and where those certificates were going.