Skip to content

Add SAN certificate batching to prevent Let's Encrypt rate limits#185

Open
mhenrixon wants to merge 1 commit intobasecamp:mainfrom
mhenrixon:san-certificate-batching
Open

Add SAN certificate batching to prevent Let's Encrypt rate limits#185
mhenrixon wants to merge 1 commit intobasecamp:mainfrom
mhenrixon:san-certificate-batching

Conversation

@mhenrixon
Copy link

@mhenrixon mhenrixon commented Dec 27, 2025

Batch up to 100 domains into a single SAN certificate, regardless of their root domain. This dramatically reduces certificate requests:

  • 1000 domains = 10 certificates instead of 1000
  • Avoids the 300 orders/3 hours rate limit

Features:

  • SANCertManager with HTTP-01 challenge support
  • Automatic domain batching (up to 100 per cert)
  • Certificate persistence and state management
  • CLI flags: --acme-email, --acme-directory

The reason for this PR is that I had to switch to Traefik for some projects due to long domain lists. It so unnecessary so I figured I take a stab at fixing it. If you are interested it would be a great addition.

I have another PR in the works for allowing wild card certificates and using domain providers with a token to generate certificates. I am still not pleased with those changes but this would serve an immediate need.

Batch up to 100 domains into a single SAN certificate, regardless of
their root domain. This dramatically reduces certificate requests:
- 1000 domains = 10 certificates instead of 1000
- Avoids the 300 orders/3 hours rate limit

Features:
- SANCertManager with HTTP-01 challenge support
- Automatic domain batching (up to 100 per cert)
- Certificate persistence and state management
- CLI flags: --acme-email, --acme-directory
@mhenrixon mhenrixon force-pushed the san-certificate-batching branch from 93ab6a7 to b82694e Compare December 27, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant