Can EJBCA automate certificate renewal, and what do shorter lifetimes change?
EJBCA Enterprise can automate both issuance and renewal through its ACME implementation, which the EJBCA documentation labels as an Enterprise feature and says complies with the final ACME standard, RFC 8555. The CA/Browser Forum's schedule cuts the maximum validity of publicly trusted TLS subscriber certificates from 398 days to 200 days from 2026-03-15, to 100 days from 2027-03-15 and to 47 days from 2029-03-15, so renewing certificates by hand becomes unworkable for any team running a meaningful number of them. Each step also shortens the reuse period for domain and IP validation data, from 200 days to 100 days and then to 10 days by 2029, which means validation has to be repeated far more often.
The people who have to act are PKI owners, who decide how the EJBCA deployment is configured and which certificate profiles and end entity profiles it uses, and platform teams, who have to connect web servers, load balancers, and other consumers to ACME renewal. Anyone whose certificates are publicly trusted should also confirm whether their certificates come from EJBCA or from a public CA, because the lifetime schedule applies to publicly trusted subscriber certificates. Confirm with your own environment and with the sources which validity values your profiles set, since the documentation gives examples such as 6mo, 1y or 395d.
The Community edition is for learning, testing and prototyping only. The EJBCA Community README says it is a subset of Enterprise, is LGPL licensed, and is not intended for production use, so a production deployment that depends on ACME automation needs the Enterprise edition. Before rolling this out, check that the ACME alias, end entity profile, and certificate profile settings match what your platform clients expect, and confirm with your vendor which client versions and validation methods your environment supports.
What the lifetime schedule changes for EJBCA-issued certificates
This table compares the three CA/Browser Forum steps for publicly trusted TLS Subscriber Certificates against the renewal and validation work each step creates on an EJBCA deployment. The limits govern publicly trusted certificates under the TLS Baseline Requirements, while EJBCA's own internal certificates follow the policy your organization sets. Read each row across to see which renewal and validation tasks move from occasional to recurring.
| Schedule step | Maximum certificate validity | Domain validation reuse | What changes on an EJBCA deployment |
|---|---|---|---|
| Until 2026-03-15 | Current maximum, per the TLS Baseline Requirements | Not applicable under this step | Existing renewal cadence still applies; no new limit has taken effect yet |
| From 2026-03-15 | 200 days | 200 days | Renewal frequency rises from the prior cycle; confirm which certificate profiles and end entity profiles still set longer validity for public use |
| From 2027-03-15 | 100 days | 100 days | Renewals roughly double compared with the 200-day step; ACME renewal and certificate profile settings need to be reviewed for automation |
| From 2029-03-15 | 47 days | 10 days | Renewals become frequent enough that manual renewal stops being workable; domain validation must be repeated far more often, so ACME automation and renewal monitoring should be in place |
| Validation reuse meaning | Not a certificate setting | Reuse limits control how long a prior domain check can be reused | Plan for re-running http-01, dns-01 or tls-alpn-01 challenges on each renewal rather than relying on cached validation |
| What stops working by hand | Manual renewal and copy-paste installs | Manual domain re-validation | Tracking expiry in spreadsheets or tickets; confirm your automation handles each renewal without staff action |
| Internal certificates | Set by the organization's own policy | Set by the organization's own policy | EJBCA internal CA certificates are not bound by these public limits; document the internal policy separately |
| Checks to run | Confirm profile validity settings | Confirm validation method in use | Confirm the TLS Baseline Requirements version your CA follows and test renewal at each step before the date |
How EJBCA issues and renews certificates through ACME
EJBCA supports ACME as an Enterprise feature, and its implementation follows the final ACME standard, RFC 8555. It also covers the ACME Renewal Information extension in RFC 9773, which is the mechanism a client uses to learn when a certificate should be renewed. ACME is disabled by default, so the first task for an enterprise PKI team is to enable it under CA UI > System Configuration > Protocol Configuration. Next, configure one or more aliases under System Configuration > ACME Configuration and save each alias before using it. Each end entity profile and CA needs its own alias, so plan the alias layout around how your CAs and profiles are divided. Confirm the exact field names and any version-specific steps in the EJBCA ACME documentation for the release you run.
Clients reach EJBCA through a directory and a set of endpoints: newNonce, newAccount, newOrder, challenge, finalizeOrder, and cert, with newAuthz available only if Pre-Authorization Allowed is enabled and renewalInfo available only if the ARI endpoint is enabled. The default URLs use port 8443 when client authentication is required and port 8442 when it is not. Custom aliases are reached with a ?configurationId= query string or a path segment. Because end entities are managed in RA mode, each one must be reset to NEW before a client can enroll against it, and batch generation must be enabled in the end entity profile. Check these settings in your test environment before you rely on automated renewal in production.
Which enrollment options EJBCA supports and what each needs
EJBCA includes an ACME server, and the EJBCA ACME documentation labels this feature as part of the Enterprise edition. The implementation complies with RFC 8555, the final ACME standard. ACME is disabled by default, so an administrator has to turn it on before any client can enroll. The setup is split between the CA's protocol settings and the alias configuration for each certificate authority and end entity profile.
- Enterprise edition: The built-in ACME server is documented as an Enterprise feature, so confirm your license covers it before planning around it.
- ACME enabled: Turn it on under CA UI > System Configuration > Protocol Configuration, since it is off by default.
- Aliases per profile and CA: Each end entity profile and each CA needs its own alias under System Configuration > ACME Configuration, and each alias must be saved before use.
- Batch generation: Enable batch generation in the end entity profile, and reset end entities to NEW before enrollment, since they are managed in RA mode.
- Default URLs: The default ACME URLs use port 8443 with client authentication or 8442 without it, and custom aliases use a
?configurationId=query string or a path segment.
Before relying on this option, check the key algorithms and validity periods set in your certificate profiles, and confirm the URLs your clients will reach.
External Account Binding (EAB) ties an ACME account to a credential issued in advance, so only clients holding that credential can register. The EJBCA ACME documentation describes two forms. The first uses HS256 MAC keys, as defined in RFC 8555. The second is asymmetric EAB, which uses an RSA or ECDSA public key or an X.509 certificate. This is useful when an enrollment should be limited to known parties rather than open to any client that can reach the endpoint.
- HS256 MAC keys: The symmetric form follows RFC 8555, where a shared key is used to bind a new ACME account to a pre-registered identity.
- Asymmetric with RSA or ECDSA: The client proves control of a key pair, and the server uses the public key to bind the account.
- Asymmetric with X.509: An X.509 certificate can serve as the binding credential in place of a bare public key.
- Key handling: Plan how EAB credentials are generated, distributed and rotated, since each one gates account registration.
- Client support: Confirm that the ACME client you plan to use can send EAB data during account creation.
Before deploying, check which of the two forms your clients support and document who issues and holds each binding credential.
EJBCA's ACME server works with standard ACME clients rather than requiring a proprietary agent. The EJBCA documentation lists Certbot, acme4j and acme.sh as compatible clients. These clients handle account creation, challenge response and renewal on the host, while EJBCA performs issuance under the profiles and aliases you configured. Client choice matters because some clients impose their own limits on the certificates they request.
- Certbot: The documentation notes that Certbot 1.18 limits certificate validity to about 6 months, so check that the validity your profile issues is compatible with the client version you run.
- acme4j: A Java ACME client, suited to applications and services already running on the JVM.
- acme.sh: A shell-based client that is often used on individual hosts and simple automation setups.
- Challenge types: Confirm which challenge type your client uses, such as http-01 or dns-01, and that your network and DNS allow it.
- Alias and URL: Point each client at the correct alias URL for the profile and CA it should use.
Before choosing a client, test a renewal end to end with the validity period and challenge type your environment requires.
The sources for this page cover ACME and External Account Binding only. They do not describe other enrollment protocols that EJBCA may support, so this tab does not state what those protocols require or how they are configured. Any enrollment method outside ACME should be verified against the EJBCA documentation for the version you run, rather than assumed from the ACME setup.
- Scope of this page: The ACME and EAB details above come from the EJBCA ACME documentation and do not cover other protocols.
- Where to check: Look up each enrollment protocol you intend to use in the EJBCA documentation at docs.keyfactor.com.
- Version match: Confirm the protocol behavior against the exact EJBCA edition and version in your environment.
- Edition differences: Verify whether a protocol is available in the Enterprise edition, since the Community edition is documented for learning and testing only.
- Planning: Include each protocol you need in your enrollment design review before committing to a configuration.
Before committing to a protocol outside ACME, confirm its requirements, supported clients and edition support in the official EJBCA documentation.
Setting up ACME issuance in EJBCA, step by step
This sequence turns an EJBCA Enterprise instance into an ACME certificate authority that clients can use for automated enrollment and renewal. Each step is a configuration change in the CA interface that builds on the one before it, and the result is an ACME URL that a client can order certificates from. Confirm each setting against the EJBCA ACME documentation for your release before you move to the next step.
Confirm the Enterprise edition
Check that the EJBCA instance you are configuring is the Enterprise edition, since the EJBCA ACME documentation labels ACME as an Enterprise feature. The Community edition is described in its README as a subset of Enterprise for learning, testing and prototyping, and as not intended for production use. Confirm the edition from the instance's administrative interface or its version information. If the instance is Community, plan the Enterprise licensing and deployment work before continuing, because the remaining steps assume Enterprise is available.
Enable ACME under protocol configuration
In the CA UI, go to System Configuration and then Protocol Configuration, and enable ACME. The documentation states that ACME is disabled by default, so this step is required before any alias can be used. Save the change and confirm that the ACME setting shows as enabled when you return to the page. Nothing downstream will work until this switch is on, so verify it before you create profiles.
Create the certificate profile
Create a certificate profile that sets the key algorithm and validity for the certificates ACME will issue. The documentation says key algorithms and validity are set in certificate profiles and gives examples such as 6mo, 1y or 395d. Choose the algorithm and validity your policy requires, and confirm that your client and relying parties support the combination you select. Because validity is set here, review it against the public lifetime schedule your organization follows before you publish the profile.
Create the end entity profile with batch generation
Create an end entity profile and enable batch generation in it, which the documentation requires for ACME enrollment. The same documentation says each end entity profile needs its own alias, and that end entities are managed in RA mode and must be reset to NEW before enrollment. Link this profile to the certificate profile from the previous step. When you finish, check that batch generation is on and that the profile references the correct certificate profile.
Create and save the ACME alias
Under System Configuration and then ACME Configuration, create an alias that ties together the CA and the end entity profile from the earlier steps. The documentation says each alias must be saved before use, so save it and confirm it appears in the list. If you need more than one alias, each end entity profile and CA needs its own. Note the alias name, because clients will need it to reach the correct configuration.
Point the client at the ACME URL
Configure your ACME client with the directory URL for the alias. The documentation gives default URLs on port 8443 when client authentication is used and port 8442 when it is not. For a custom alias, add the configuration identifier as a
?configurationId=query string or as a path segment, as the documentation describes. Confirm the exact format against the documentation for your release. Compatible clients listed there include Certbot, acme4j and acme.sh.Set the validation method
Choose the challenge type that matches how the names on each certificate will be validated. The documentation lists http-01 on port 80, dns-01, dns-account-01, tls-alpn-01 and device-attest-01, and notes that IP identifiers support only http-01. Confirm that the port and DNS arrangements you need are in place before you select a method. Also review the optional Multi Perspective Issuance Corroboration, which can corroborate http-01, dns-01 and tls-alpn-01 results through external services, and DNSSEC validation, which the documentation recommends and describes as configurable.
What has to be in place before EJBCA can renew certificates
EJBCA renewal depends on several components being ready before the first ACME order arrives. The cards below cover the edition you run, the network path your challenges need, DNS and DNSSEC for validation, permissions in RA mode, the runtime if you install it directly, and how keys and profiles are designed.
Use the Enterprise edition
The ACME protocol support described in the EJBCA documentation is labeled as an Enterprise feature. The EJBCA Community README says Community is a subset of Enterprise, intended for learning, testing and prototyping, and not intended for production use. Confirm your license and edition before planning any production renewal workflow, because a Community deployment will not meet the production requirement the product itself states.
EJBCA ACME docsOpen port 80 for http-01
The http-01 challenge is the one the EJBCA ACME documentation ties to port 80, so the client's validation request must reach the host on that port. Check that firewalls, load balancers and any reverse proxy forward the challenge path to the component answering it. IP identifiers support only http-01, so this path matters for IP certificates as well as hostnames. Confirm the other challenge types you plan to use, since they have their own network requirements.
Grant DNS access for dns-01
The dns-01 and dns-account-01 challenge types validate control of a domain through DNS records, so the automation must be able to create and remove those records. Decide who owns the DNS zone and how the ACME client receives write access, and keep that access scoped to the challenge records. DNSSEC validation is recommended by the EJBCA documentation and is configurable, so confirm your zones are signed and that your DNS provider supports the records you need.
Set RA mode and profile permissions
End entities are managed in RA mode and must be reset to NEW before enrollment, and batch generation must be enabled in the end entity profile. Each end entity profile and CA needs its own ACME alias, and each alias must be saved before use. Review which administrators and service accounts can reset end entities and which profiles the ACME aliases reference, so that only the intended profiles can issue certificates.
Install the Java runtime
The EJBCA README states that EJBCA is written in Java and runs on a JVM such as OpenJDK. If you run the product directly rather than from the keyfactor/ejbca-ce Docker image or the Helm chart, your platform team must provide and maintain that JVM. Confirm the Java version your EJBCA release requires in the product documentation, and plan updates to the runtime alongside updates to EJBCA itself.
EJBCA CE READMEDesign keys and profiles
Key algorithms and validity periods are set in certificate profiles, not in the ACME client, so the profile design determines what every renewal produces. The EJBCA documentation gives examples such as 6mo, 1y or 395d for validity. Finalize orders support all EJBCA key algorithms, including ML-DSA and FALCON, so decide which algorithms each profile offers. Check the lifetime against the CA/Browser Forum maximums that take effect on 2026-03-15, 2027-03-15 and 2029-03-15 for public certificates, and against your own policy for internal ones.
How an ACME renewal moves through EJBCA
The renewal starts at the ACME client, which sends newOrder to the EJBCA ACME endpoint and completes a challenge such as http-01, dns-01, dns-account-01, tls-alpn-01 or device-attest-01. EJBCA validates the challenge, optionally corroborated by an external MPIC service, then the client calls finalizeOrder against a certificate profile that sets the key algorithm and validity. EJBCA returns the new certificate from the cert endpoint, and the client deploys it and reloads the target service. The renewalInfo step appears only when the ARI endpoint is enabled, so check that setting before relying on it.
The steps of an ACME renewal from the client through EJBCA to the target service.
How to confirm EJBCA renewals keep happening
Confirming that renewals keep happening means watching the outcome of every issued certificate, not only the ones that have already failed. Start with an inventory of every certificate issued through EJBCA, including the end entity profile and certificate profile it came from, because the validity set in the certificate profile (for example, values such as 6mo, 1y or 395d in the examples the EJBCA ACME documentation gives) determines when each one falls due. Track expiry dates for all of them in one place, and check that the ACME clients or automation that request renewals on each platform are still running and still pointed at the right alias. Each end entity profile and CA needs its own ACME alias, so a renewal that goes to the wrong alias is a common silent gap to rule out.
Next, review logs on both sides of the exchange. On the EJBCA side, look for failed ACME orders, rejected challenges and finalizeOrder errors. On the client side, check that each renewal attempt completed and that the new certificate was installed and loaded by the service that uses it. If the ARI endpoint (renewalInfo) is enabled, which the EJBCA ACME documentation says is required before the renewalInfo operation is available, use the renewal window it returns as a planning signal and confirm that clients are polling it. Set alerts that fire before expiry rather than at expiry, and confirm the thresholds with your own risk owners, because the sources supplied for this topic do not name a specific alert threshold.
Finally, keep a record of every issuance and renewal that an auditor or customer may ask for: the certificate, its profile and alias, the requesting client, the timestamps of each order, and any revocations. Retain enough of the EJBCA audit and client logs to reconstruct that history, and confirm your retention period with your compliance team. Because public certificate lifetimes are shrinking under the CA/Browser Forum schedule (200 days from 2026-03-15, 100 days from 2027-03-15 and 47 days from 2029-03-15, according to section 1.2.2 of the TLS Baseline Requirements), renewal volume will rise over time, so test this monitoring now and treat a missed renewal as an incident to investigate, not something to wait out.
Common questions about automating EJBCA certificates
Does EJBCA support ACME for certificate issuance?
Yes, ACME is available in EJBCA Enterprise. The EJBCA ACME documentation labels it an Enterprise feature and says the implementation complies with the final ACME standard, RFC 8555. The same documentation says EJBCA is fully compliant with the ACME Renewal Information extension, RFC 9773, which lets clients ask the server when to renew. ACME is disabled by default and must be turned on under CA UI > System Configuration > Protocol Configuration. Each end entity profile and CA needs its own ACME alias, and each alias must be saved before use. The Community edition is intended for learning, testing and prototyping, not production, so it is not the right basis for an automated production service.
Which ACME client should I use with EJBCA?
The EJBCA ACME documentation lists Certbot, acme4j and acme.sh as compatible clients. Choose based on where the certificates must be installed. Certbot is common on Linux web servers, acme4j suits Java applications, and acme.sh is a shell-based option. Confirm each client's version before rollout. The documentation notes that Certbot 1.18 limits certificate validity to about 6 months, so check the client version against the certificate lifetimes you plan to issue. Also confirm which challenge types your clients need, since the documentation lists http-01, dns-01, dns-account-01, tls-alpn-01 and device-attest-01, and IP identifiers support only http-01.
How often will certificates issued by EJBCA renew?
Renewal frequency is set by the certificate profile, not by a fixed EJBCA default. Certificate profiles define key algorithms and validity, with examples in the documentation such as 6mo, 1y or 395d. Separately, the public CA/Browser Forum schedule sets maximum lifetimes for publicly trusted TLS certificates: 200 days from 2026-03-15, 100 days from 2027-03-15 and 47 days from 2029-03-15. Those public limits do not bind a private EJBCA issuer, but many teams align internal lifetimes with them for consistency. Whatever you choose, your ACME client must renew before expiry, and the renewal interval should be tested end to end.
What happens when an EJBCA certificate renewal fails?
A failed renewal leaves the current certificate in service until it expires, so the risk is an outage at expiry rather than an immediate break. Common causes include a challenge that cannot be validated, an end entity not reset to NEW before enrollment (the documentation says end entities are managed in RA mode and must be reset), batch generation not enabled in the end entity profile, or a misconfigured alias. Check the ACME server logs, the client output and the alias configuration first. For the failure patterns to watch for and how to detect them early, see the what-breaks page.
Can EJBCA issue certificates for wildcard or internal names?
The sources listed for this topic do not confirm whether a given EJBCA release issues wildcard certificates or names that are only internal to your network, so do not assume either. The documentation does describe IP identifier support, which accepts only the http-01 challenge, and it covers DNS-based challenges such as dns-01. Whether a wildcard name can be validated depends on the challenge type and your DNS setup. Confirm both points in the EJBCA ACME documentation for your version and test with a non-production alias before planning a rollout.
Should I get outside help to automate EJBCA certificates?
Consider outside help if the EJBCA deployment is new, spans several CAs or profiles, or must meet audit or compliance evidence requirements, because the configuration involves alias setup, profile design, challenge validation and renewal testing. DeployOpen plans, implements and documents self-hosted open-source platforms inside the client's own infrastructure, and it prepares systems and evidence for compliance assessments, though it does not issue audit reports or certifications. Most engagements are fixed-scope, with scope and deliverables agreed in writing before work starts, and DeployOpen does not publish a price list. For the decision points and what to prepare before a conversation, see the when-to-get-help page.
How DeployOpen helps teams automate certificates on EJBCA
DeployOpen approaches EJBCA for enterprise certificate issuance and automation as a self-hosted deployment inside the client's own infrastructure, with ACME enabled where it fits the existing PKI. The work starts with how certificates are issued today, then covers the protocol, profile and client configuration needed to automate renewal.
How we scope
- Inventory the current certificate issuance paths, enrollment methods and the systems that consume them.
- Decide which certificate authorities and end entity profiles will use ACME, and which will stay on existing enrollment.
- Agree the written scope, deliverables and timeline in writing before work starts, as engagements are fixed-scope by default.
How we build
- Enable ACME under Protocol Configuration and create an alias for each certificate authority and end entity profile.
- Set key algorithms and validity periods in certificate profiles, and configure External Account Binding where the client requires it.
- Test each ACME client, challenge type and renewal path against the client's own systems before any rollout.
How we hand over
- Document each ACME alias, profile mapping, client configuration and the steps needed to reset end entities before enrollment.
- Provide runbooks for renewal failures, challenge validation errors and revocation requests against the deployed EJBCA instance.
- Walk the client's PKI and platform teams through the configuration so they can operate and review it independently.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Retainers can cover EJBCA version upgrades and review of profile and alias changes as the client's certificate lifetimes change.
- Confirm the EJBCA edition and licensing terms with the vendor, since the Community edition is not intended for production use.

