How ACME account keys and external account binding support automated renewal
Automated renewal only works if the client can keep authenticating to the CA on every cycle. Renewal runs through an ACME account whose key pair the client holds, and a CA that requires external account binding (EAB) ties that account to a customer account using a key identifier (kid) and a MAC key that the CA issues. Under RFC 8555, a CA that requires EAB must set externalAccountRequired to true in the directory's meta field, so a client that lacks the EAB credentials cannot register at all. The shorter lifetimes change how much this dependency matters. Let's Encrypt's profiles page says Baseline Requirements limits drop to 100 days for certificate validity and authorization reuse on 15 March 2027, and to 47 days for validity and 10 days for authorization reuse on 15 March 2029. With roughly four or more issuance events per certificate instead of one per year, the account key and its registration are exercised far more often, so any break in them shows up as an expiry risk on a shorter schedule.
Two groups have to act. The platform or PKI owner receives the EAB credentials from the CA or PKI administrator and must store them where the automation can reach them without exposing them more widely than necessary. The AWS Certificate Manager ACME guide describes EAB registration as a one-time step per ACME client, with certificate revocation authorized by the IAM role tied to that binding, so the owner should know which identity holds which binding. Engineers who configure clients need the kid and MAC key passed to the client, for example through the Certbot options --eab-kid, --eab-hmac-key and --eab-hmac-alg, where the documented default algorithm is HS256. Confirm which MAC algorithm your CA expects before relying on that default. The Let's Encrypt integration guide also notes that an account key cannot be reused as a certificate key, so the account key should be kept separate from certificate keys and protected accordingly.
What the lifetime schedule means for ACME accounts
This table sets each published milestone in the CA/Browser Forum schedule against what it changes for ACME accounts and their keys on your platform. Read it as a timeline: the earlier rows govern the period before the later limits take effect, and the final row identifies the ballot that introduced the schedule. Across every row, the main takeaway is that renewals happen more often, so an account credential that is lost or expires interrupts renewal sooner than it does today.
| Milestone | Limit | What it means for the account and its keys on this platform |
|---|---|---|
| 15 March 2027 | 100-day certificate validity and 10-day authorization reuse | Certificates renew about every 100 days, so the account key signs more renewal orders per year. Confirm that the account key and its storage are reachable on every node that renews, because a missing key will fail the next renewal. |
| 15 March 2029 | 47-day certificate validity and 10-day authorization reuse | Renewals become frequent enough that the account key is used continuously. Plan for key storage, backup and access controls that support unattended renewal, and check that renewal jobs can reach the key without manual steps. |
| CABF BR version 2.3.2, Ballot SC081v3 'Introduce Schedule of Reducing Validity and Data Reuse Periods' | Schedule adopted as the current TLS Baseline Requirements (version 2.3.2, adopted by Ballot SC105) | This is the source of the schedule above. Read the ballot and the Baseline Requirements text for the exact conditions, and confirm with your CA how the limits apply to your ACME account and profile. |
How the account key and EAB binding work in the protocol
An ACME client authenticates to the server with an account key pair, as described in section 3 of RFC 8555. Each request that carries a JWS is signed with the account's private key, and the server checks that signature against the public key it registered. The key is not a certificate key: the Let's Encrypt integration guide states that an account key cannot be reused as a certificate key, so the certificate's own key pair is generated separately.
- Key rollover: Section 7.3.5 describes a key change request, in which the holder of the new key sends an inner JWS signed by that key. The server replaces the old account key with the new public key and returns 200 (OK).
- Rollover checks: The server must confirm that the inner JWS verifies with the key in its jwk field and that no existing account already uses the new key.
- Limited side effects: Section 7.3.5 says changing the account key SHOULD NOT have any other impact on the account, so existing orders and authorizations are not described as reset by the rollover.
- Key authorization: Section 8.1 builds the key authorization as the challenge token, a period, and the base64url encoding of the SHA-256 thumbprint of the account key defined in RFC 7638.
- Storage: The sources listed here do not say how a given client should store the key file. Check the client's documentation for its key location and file permissions.
Check that the account key is kept separate from certificate keys, and that you know the procedure your client uses to roll it over.
External account binding (EAB) connects an ACME account registration to an account the client already holds with the CA. Section 7.3.4 of RFC 8555 defines an externalAccountBinding object that is included in the new-account request. The CA issues a key identifier and a MAC key, and the client uses them to sign the binding. The Let's Encrypt integration guide notes that hosting providers may choose between a single account and per-customer accounts, which affects how many EAB credentials a platform holds.
- Protected header: The header must use a MAC-based alg, carry the key identifier from the CA in kid, omit any nonce field, and set url equal to the outer JWS url.
- Payload: The binding payload is the ACME account key being registered, in JWK form, signed with the CA's MAC key.
- Key encoding and identifier: Section 7.3.4 says the MAC key SHOULD be base64url-encoded and the key identifier MUST be an ASCII string.
- Server verification: The server checks that the binding payload represents the same key that verified the outer JWS, and the returned account includes an externalAccountBinding field with the same value.
- Client flags: Certbot documents
--eab-kid,--eab-hmac-keyand--eab-hmac-alg(default HS256). The AWS guide describes EAB registration as a one-time step per ACME client.
Check which CA credentials your platform holds and whether one set is shared across several customers.
The directory is the object a client fetches first to learn where the CA's ACME resources live. Section 7.1.1 of RFC 8555 lists the resources it carries, including newNonce, newAccount, newOrder, newAuthz (optional), revokeCert and keyChange. It also carries the meta field, which tells the client what the CA requires before it can register an account. Clients read this field to decide whether to ask for EAB credentials.
- Required flag: A CA that requires external account binding MUST set externalAccountRequired to true in the meta field of the directory object.
- Resource discovery: The keyChange resource is the endpoint used for the account key rollover described in the first tab.
- Order states: Section 7.1.3 gives the order status values as pending, ready, processing, valid and invalid, which a client checks after submitting an order.
- Content type: Section 6.2 requires requests that carry a JWS to use the Content-Type header application/jose+json.
- Client behavior: The sources here do not say how each client handles a missing or unexpected meta field. Check your client's documentation for how it reports an EAB requirement.
Before automating a new CA, fetch its directory and confirm whether externalAccountRequired is set to true.
How to set up an ACME account with EAB, step by step
This sequence registers one ACME client with a certificate authority that requires external account binding, so that the account is tied to your CA customer account. It ends with a stored account key, a confirmed account URL and a test issuance that shows the account works before you rely on it in production.
Obtain the EAB key ID and MAC key
Ask your PKI administrator, or retrieve from the CA's customer portal, the key identifier and the MAC key that the CA issued for external account binding. The key identifier is an ASCII string, and the MAC key is usually provided in base64url-encoded form. Treat the MAC key as a secret, and record both values in your secrets store before you move on. You know this step is done when you hold both values and have confirmed which CA account they belong to.
Record the HMAC algorithm
Confirm which MAC-based algorithm the CA expects for the binding. In Certbot, the --eab-hmac-alg option defaults to HS256, so if the CA specifies a different algorithm you must set it explicitly. RFC 8555 requires the binding header to carry a MAC-based algorithm, so a mismatch will cause registration to fail. Write the algorithm next to the key ID so the registration step does not depend on memory. You know this step is done when the algorithm is recorded and matches what the CA documents.
Register the account with Certbot
Run Certbot's registration with --eab-kid and --eab-hmac-key set to the values from the first step, and with --eab-hmac-alg if the CA requires a value other than the HS256 default. Registration is performed once per ACME client, so do not repeat it for every certificate request. Certbot binds your account key to the CA account by signing the account key with the MAC key. You know this step is done when Certbot reports that the account was created and the CA returns an account record that includes the externalAccountBinding field.
Store the account key and confirm the account URL
Keep the account key file in a location readable only by the service that runs the client, and back it up under the same controls as other private keys. Record the account URL that the CA returned, since it identifies the account in later requests and support cases. Remember that an account key cannot be reused as a certificate key, so do not point other services at it. You know this step is done when the key file is in its protected location, the backup is confirmed, and the account URL is written down with the CA account it belongs to.
Test with a staging or non-production issuance
Before live use, request a certificate for a non-production name, or use the CA's staging environment if it offers one, so that the account, binding and challenge setup are checked end to end. Confirm that the certificate is issued, that renewal works on the second run, and that the client logs show no binding errors. Use the test to find problems with the challenge type, DNS or network path while nothing depends on the result. You know this step is done when a test certificate is issued and renewed without manual intervention.
Document where the key sits
Write down the location of the account key, the key ID and MAC key source, the HMAC algorithm, the account URL and the person or team who owns the CA relationship. Include how to rotate the account key if it is compromised, and note that the CA's guidance on single versus per-customer accounts affects how much damage one compromised key can do. Keep this record with your certificate runbook so the next operator can find it. You know this step is done when a reviewer who did not perform the setup can locate every item on the list.
What has to be in place before you register an ACME account
Registering an ACME account with an external account binding depends on five things lining up before the first request: credentials from your PKI administrator, a client that accepts them, a safe home for the account key, any cloud role the CA relies on, and a directory that confirms the CA requires binding. Missing any one of them is the most common reason a first registration fails.
CA customer account and EAB credentials
Your PKI administrator provides a CA customer account and the external account binding (EAB) credentials: a key identifier and a MAC key. Treat these as one-time registration material for each ACME client, not as ongoing secrets to paste into scripts. Ask whether the CA issues one set per client or per team, and who rotates the MAC key if it is exposed. Confirm the key identifier is an ASCII string and that the MAC key arrives base64url-encoded, since the protocol expects both.
RFC 8555 section 7.3.4A client that supports EAB
The ACME client you run must be able to send the binding during registration. Certbot documents this through the --eab-kid, --eab-hmac-key and --eab-hmac-alg options, where the algorithm defaults to HS256. Check that your client exposes equivalent settings and that the MAC algorithm it uses matches what your CA expects. A client that cannot send the binding will fail at registration even when the credentials are correct.
Certbot user guideA secure location for the account key
The ACME account key authenticates your client to the CA for the life of the account, so it needs protected storage with restricted read access and a documented owner. Do not reuse it as a certificate key: the Let's Encrypt integration guide states an account key cannot be reused as a certificate key. Decide whether one account serves all workloads or each team gets its own, because a single account makes a compromise broader but simplifies rate limit management.
Let's Encrypt integration guideAn IAM role where the CA uses one
Some CAs tie permissions to a cloud identity rather than to the ACME key alone. AWS Certificate Manager documents that certificate revocation through its ACME endpoint is authorized by the IAM role associated with your client's external account binding. Identify that role before registration, confirm who can assume it, and make sure the policy grants only the actions your workloads need. Changing the role later can break revocation for certificates already issued.
AWS ACM ACME guideAccess to the CA directory
Your client reads the CA's directory object before registering. A CA that requires external account binding must set externalAccountRequired to true in the meta field, so checking this value tells you whether binding is mandatory for that CA. Confirm you can reach the directory URL from your network, including any egress proxy rules, and read the flag before scripting registration. If the flag is absent or false, verify with the CA rather than assuming binding is optional.
RFC 8555 section 7.1.1Questions people ask about ACME accounts and EAB
Does my certificate authority require external account binding?
Check the CA's ACME directory object. A CA that requires external account binding must set externalAccountRequired to true in the meta field of the directory, as defined in section 7.1.1 of RFC 8555. Fetch the directory URL the CA publishes and look at that field. If it is absent or false, you can register a plain ACME account without EAB credentials. If it is true, your PKI administrator or account portal must give you a key identifier (--eab-kid in Certbot) and a MAC key (--eab-hmac-key) before registration will succeed. Confirm the exact directory URL and credential process in your CA's documentation, since these details vary by provider.
Can one ACME account serve every server I run?
Yes, but it is a tradeoff. The Let's Encrypt integration guide recommends that larger hosting providers use a single account and guard the account key carefully. Per-customer or per-server accounts limit the damage from one key compromise, because a leaked key affects only that account. The cost is that rate limit adjustments become harder to manage across many accounts. For a small estate, one account per team or environment is a common middle ground. Decide based on how much blast radius you accept and how much rate limit coordination you can handle, and confirm what your CA allows per account.
What do I do if my ACME account key is compromised?
Perform an account key rollover. RFC 8555 section 7.3.5 describes a key change request, signed by the old key and carrying a new key inside an inner JWS. The server checks that the inner JWS verifies with the new key and that no existing account already uses it. On success it replaces the old key with the new public key and returns 200 (OK). The RFC says changing the account key should not otherwise affect the account. Start the rollover with a new key pair, and do it promptly. Your client's documentation or the keyChange resource in the CA's directory describes how to trigger it. Also review certificates issued under that account and revoke any you no longer trust.
What is the default HMAC algorithm for EAB in Certbot?
The Certbot user guide sets the default for --eab-hmac-alg to HS256. The related options are --eab-kid, which takes the key identifier from your CA, and --eab-hmac-key, which takes the HMAC key. RFC 8555 section 7.3.4 requires the EAB protected header to use a MAC-based algorithm and says the MAC key should be base64url-encoded. If your CA specifies a different algorithm, pass it explicitly with --eab-hmac-alg instead of relying on the default. Check the algorithm and key format in your CA's onboarding instructions before you register.
Can I reuse my ACME account key as a certificate key?
No. The Let's Encrypt integration guide states that an account key cannot be reused as a certificate key. The account key authenticates your client to the CA, and the certificate key is the key bound to the certificate your servers present. Generate a separate key pair for each certificate. Keeping the two apart also limits what a compromise of either key exposes, which ties back to the account key rollover process if the account key is ever leaked.
When should I bring in outside help for ACME account and EAB setup?
Consider outside help when the setup spans several CAs, when EAB credentials must be managed across many clients, or when a key compromise needs a fast, documented response. DeployOpen implements, hardens, documents and supports self-hosted platforms in your own infrastructure, and can plan the account structure, credential handling and rollover runbook as part of a fixed-scope engagement. Scope, deliverables and timelines are agreed in writing before work starts. Ask any provider for a written scope that names which accounts they will create, where keys will be stored, and how rollover and revocation will be tested.
How an ACME client registers an account with EAB and gets certificates
The diagram starts with the ACME client sending a newAccount request to the CA, carrying an externalAccountBinding payload. That payload holds the account key in JWK form, signed with the MAC key the CA provided and identified by its kid. The CA checks that the binding payload represents the same key that verified the outer JWS, then returns the account with an externalAccountBinding field matching the request. Later, the client requests certificates using that account. Check that the MAC key and kid are correct, that the CA sets externalAccountRequired, and that the returned account carries the binding.
EAB registration of an ACME account, followed by certificate requests under that account.
How DeployOpen works on this
DeployOpen plans ACME account keys and external account binding as a written, fixed-scope piece of work before any changes are made. The work covers how your ACME clients are registered with your CA, where account keys are stored and how they are rotated, and what your team takes over at the end.
How we scope
- We list which ACME clients use which CA accounts and where each account key is stored today.
- We confirm with your PKI team whether the CA requires external account binding and which EAB credentials each client needs.
- The written scope names the accounts, clients and key rotation steps covered, and the items left out.
How we build
- We configure each client's EAB registration using the key identifier and MAC key your CA issues, following the client's documentation.
- We set up account key storage and access controls so keys are not shared between clients or reused as certificate keys.
- We test account key rollover on a non-production client and confirm the account is unchanged apart from its key.
How we hand over
- We document each account, its EAB credentials, the key storage location and the owner responsible for each one.
- We write the key rollover and EAB re-registration steps so your team can repeat them without our involvement.
- We walk your team through the runbook and the evidence of each test before the engagement closes.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer, covering changes to ACME accounts and clients.
- Ask your CA whether one account or per-customer accounts fit your rate limits and your tolerance for a single key compromise.
- Confirm the MAC algorithm and key format your CA uses with the client version you run, since the defaults differ between clients.

