Sorry, I’m ignoring the template, because it doesn’t seem relevant for my question.
I’m trying to run certbot with ACME v2 to get a wildcard certifcate. Since I can’t host on one of the supported dns-plugin sites (i’m European, none operate in my country) I need to go with the manual method with pre and post validation hooks. Therefor I’m running the following command:
sudo certbot certonly --manual --preferred-challenges=dns --server https://acme-v02.api.letsencrypt.org/directory --manual-auth-hook /home/user/certbot_authenticator.sh --manual-cleanup-hook /home/user/certbot_cleanup.sh -d *.domain.com -d domain.com
Because I’m creating both validation hooks myself it requires some testing. I was surprised to encounter the following error at one point:
There were too many requests of a given type :: Error creating new order :: too many failed authorizations recently: see https://letsencrypt.org/docs/rate-limits/
I understand there is a failed validation limit of 5 failures per account. Unfortunately something like
-n doesn’t work with the above command. How can I create the validation hooks with such a limit? What am I missing here?