How many certs can I get?

Running the script for the first time. It wants to generate 861 certificates. When I try to run it I get an error.

There were too many requests of a given type :: Error creating new authz :: too many currently pending authorizations

Do I need to break this up into batches somehow?

Please review the rate limit documentation. There are a few you could run into while doing this, depending on your implementation.

https://letsencrypt.org/docs/rate-limits/

You will probably want to clear each authorization before moving to the next, or at least clear a handful at a time. If these are all subdomains of a single public suffix, you may need to add several of these (~40) to each certificate as subject alternate names, as you can only issue 20 certificates for any given domain per week, but each can have up to 100 subject alternate names for 2000 subdomains per week.

The integration guide may also prove helpful for you:

https://letsencrypt.org/docs/integration-guide/

1 Like

Also, you might want to consider utilizing the staging environment while working out this implementation, as it’s far more lax on rate limits given that it’s a test environment.

i wrote a script which looks at the logs folder for pending challenges and clears them by submitting a request

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.