Skip to content

Rate limits

Anybody who can reach the CA can talk ACME, so BastionXP CA limits each source. Over a limit, a client gets 429 with Retry-After. Most ACME clients wait that long by themselves; bxp acme stops at once instead and says which limit and when to try again, so a timer run does not hang.

acme:
  allowed_domains: [example.com]
  limits:
    accounts_per_ip_per_hour: 100      # the default
    orders_per_account_per_hour: 300   # the default
Limit Default Counts
accounts_per_ip_per_hour 100 New accounts per source address.
orders_per_account_per_hour 300 New orders per account.
  • Leave a limit out for its default; 0 turns it off.
  • Raise accounts_per_ip_per_hour if many machines reach the CA through one address (a NAT, or a reverse proxy in front of the CA: then all clients share the proxy's address).
  • The limits are in memory: a restart forgets the counts, and a reload changes the limits at once.

These limits protect the CA's database from growing without bound. For protection against plain floods, see Hardening.