Hello. I am trying to update cetificate for my domain. Usually everything was fine but now I got some errors about .well-known directory. I’ve fixed it and now I am getting the error:
2017-06-04 11:01:23,935:WARNING:certbot.renewal:Attempting to renew cert from /etc/letsencrypt/renewal/%my_domain%.conf produced an unexpected error: urn:acme:error:rateLimited :: There were too many requests of a given type :: Error creating new authz :: Too many invalid authorizations recently.. Skipping.
I checked the fullchain.pem file - it still contains old certificate, that would expire in several hours and my website will become unreachable.
This answer will not really help you "fix the issue", but:
This means you've made too many (invalid) requests and a rate limit is in effect. This means that you can request a certificate after a cooldown period — more info here: Rate Limits - Let's Encrypt
That rate limit only lasts 1 hour, though; you can retry 1 hour after your first failed request (in the last hour). If your certificate will expire in a few hours, then you should be able to renew it just in the nick of time.
In the meantime, you can use “certbot renew --dry-run” to ensure that everything is actually working.
We recently (April 2017) introduced a Failed Validation limit of 5 failures per account, per hostname, per hour. This limit will be higher on staging so you can use staging to debug connectivity problems.
I would also suggest running renewals a few days before they are due