Skip to content

ACME

ACME (RFC 8555) is the protocol behind Let's Encrypt. With it, a server gets its TLS certificate by itself, with nobody handing out tokens: it proves to the CA that it really is the host it asks a certificate for. Tools that speak ACME then also renew the certificate by themselves.

BastionXP CA's ACME server works with the usual clients: certbot, acme.sh, lego, Caddy, Traefik, cert-manager, and BastionXP CA's own bxp acme.

The flow

ACME order: new account, new order, challenges, the client puts the answer in place, the server checks it, finalize, certificate ACME order: new account, new order, challenges, the client puts the answer in place, the server checks it, finalize, certificate

What BastionXP CA supports

Feature Support
Challenges http-01, dns-01, tls-alpn-01 (RFC 8737); choose which with acme.challenges
Identifiers DNS names, wildcards (dns-01 only), IP addresses (RFC 8738)
Account management Key rollover, deactivation
Revocation By the account that got the certificate, or with the certificate's own key
Renewal information (ARI, RFC 9773) Yes: the CA says when to renew; "now" for a revoked certificate. See Accounts and revocation
Rate limits Accounts per IP, orders per account
External Account Binding (EAB) No: who may get which names is decided by allowed_domains and the proof
Certificate profile acme.x509.cert_profile: tls-server (24 hours) or one of yours based on it

The directory

The address to give an ACME client, its directory, is the server's address followed by /acme/directory:

https://ca.example.com:8443/acme/directory

Clients must trust the CA's root to talk to it; how to tell them differs per client (see Clients).

Next

  1. Server setup
  2. Challenges
  3. Clients