How ACME X-Road certificate renewal fits into member operations
Authentication and signing certificates in X-Road expire, and each expiry is a task the member must complete on time. If a renewal is missed, the affected key can stop working for message exchange, interrupting the services that depend on it. ACME can automate this only where three things are already in place: the certification authority supports ACME for X-Road certificates, the Central Server operator has set up the certification authority and its prerequisites, and the member has completed the first certificate order by hand. Until the member confirms all three, renewal stays a manual, calendar-driven task owned by the member's administrators.
The installation guide, the user guide and the hardening guidelines for the Security Server cover installation, administration and hardening. They do not describe ACME behavior, so ARI support, e-mail notices and cluster handling must be confirmed against current NIIS and vendor documentation for the release in use. Start with the supported release list: 7.8.3, 7.7.4 and 7.6.5 are the versions to check against, and 7.8.3 is the current release. Confirm the exact release on every Security Server in a cluster before planning any ACME configuration. The X-Road releases page is the place to begin that check. NIIS has said it intends to keep maintaining X-Road 7 with bug fixes and security patches beyond 2026, but has not decided how long that period will last.
Ownership splits across three parties. The member owns its Security Server, its information system connections and the expiry calendar, and decides who receives certificate expiry notices and who can act on them. The operator of the Central Server owns the approval of the certification authority, the ACME-related configuration on the Central Server and the global configuration that members receive. The certification authority owns issuance, the ACME endpoint and the renewal policy it applies. Before scoping any automation, ask the operator and the certification authority to confirm in writing which ACME features the release in use supports and who receives e-mail notices before a certificate expires. Those answers decide whether the member can retire manual renewal or must keep a fallback process.
ACME renewal options compared with manual renewal
This table compares manual renewal with two ACME-driven options for X-Road authentication and signing certificates. Read each column as a full option, and treat the confirmation row as the gate before you commit to either ACME path. The main takeaway is that ACME automates how a new certificate is requested, and the activation step is where the options differ most.
| Aspect | Manual renewal | ACME with automatic activation | ACME with human activation |
|---|---|---|---|
| Who acts | Member administrator orders, registers and activates the new certificate | ACME client requests and installs the certificate, and activation runs without a manual step | ACME client requests and installs the certificate, and an administrator activates it |
| What the operator must approve | Each new certificate request and its activation | Initial ACME setup, then renewals that proceed without per-renewal sign-off | Initial ACME setup, then each activation before the new certificate takes effect |
| Clustered Security Server | Each node needs manual steps, so plan the node order and overlap in advance | Confirm how each node picks up the renewed certificate before relying on automation | Each node's activation is a planned step, so keep a fixed node order |
| Member with few servers | Workable with a written runbook and a calendar reminder | Low routine effort once confirmed, with monitoring for failed renewals | Practical when one administrator can review each activation |
| Regulated change process | Fits change records that already list each certificate step | Harder to fit unless the change policy accepts automated renewal in advance | Fits change records, because activation stays a reviewed change |
| Main risk | Missed expiry date or old certificate left in place | A failed renewal may go unnoticed without alerting | Activation waits if the reviewer is unavailable before expiry |
| Confirm before choosing | Current certificate validity dates and your runbook | ACME support, ARI behavior and notifications for your X-Road version | The same checks as the automatic option, plus who approves and when |
Renewal crosses three trust boundaries and can wait for people at two points
The renewal starts in the Security Server on the member side, where the private key stays. The ACME client in the member network creates the order and completes the challenge with the certification authority's ACME endpoint, which returns the issued certificate. The certificate then goes to the operator, who can approve it before it is registered on the Central Server. Activation is a separate point on the Central Server where a manual step can sit. Check each hand-off, confirm who holds approval rights, and confirm with your certification authority and operator which steps their versions support before you plan the rollout.
Planning view: parts, trust boundaries, and where a person can approve or activate.
Setting up ACME renewal after the manual first order
This sequence moves an authentication or signing certificate from a manual first order to automatic renewal over ACME. Each step ends with a check you can run, so the team confirms the chain, expiry date, registration state and notification address before renewal runs unattended. Confirm each CA and operator dependency in writing before you start.
Confirm ACME support for the certificate profile
Ask the certification authority whether it issues certificates over ACME for the certificate profile your members use for authentication and signing certificates. Get the ACME directory address, the account and key requirements, and any limits on validity period or key type in writing from the CA or its documentation. Confirm the profile name matches the one registered on the Central Server. You are done when you hold written confirmation of the profile name and ACME endpoint, and the operator agrees they match.
Agree Central Server prerequisites with the operator
Agree the Central Server prerequisites with the X-Road operator before any order is placed. Ask which X-Road release the Central Server runs and whether it supports ACME-based renewal for your profile; the current supported releases listed by X-Road are 7.8.3, 7.7.4 and 7.6.5. Confirm the outbound network path from your Security Server to the CA's ACME endpoint, including any proxy, and who on the operator side changes the Central Server configuration. You are done when the operator confirms these points in writing and names a contact for the renewal window.
Place the manual first order
The Security Server administrator places the first order manually, through the process your team already uses for that certificate type, so the CA issues the initial certificate. Keep the order reference, the request details and the CA's response. Record the serial number and issuer as the baseline for every later check. Do not enable renewal until the order is complete and verified, since renewal depends on the first certificate being in place. You are done when the certificate is issued and the order record is saved.
Verify chain, expiry and registration
Check the issued certificate before you rely on it. Confirm with openssl x509 or your PKI tool that the certificate chains to the CA certificates your operator has approved, and that the subject matches the member. Note the notAfter date and use it as the reference for renewal planning. In the Security Server admin interface and on the Central Server, confirm the certificate shows as registered for the correct member. You are done when the chain validates, the expiry date is recorded, and both servers show the same registration state.
Confirm the notification address
Confirm the e-mail address that X-Road uses for certificate notifications. Ask the operator which events trigger e-mail, whether expiry and renewal failures are included for ACME renewals, and where the address must be set, on the Security Server or the Central Server. Use a monitored team mailbox and check that it is reachable. You are done when a notification test or written operator confirmation shows that the right mailbox receives certificate-related messages.
Enable automatic renewal
Turn on automatic renewal for the authentication or signing certificate in the Security Server, using the ACME account and profile confirmed in the first step. Ask the operator whether the version supports ACME Renewal Information (ARI) and what it changes about when renewal is attempted. Keep the manual renewal path documented as a fallback. You are done when the configuration saves and the certificate shows renewal as enabled, with the account and profile matching the confirmed values.
Run a test renewal window
Run a renewal inside a window agreed with the operator, either by triggering it or by waiting for the scheduled attempt if the version allows. Repeat the verification checks: chain, new expiry date, registration state and notification. Confirm with the operator whether the renewed certificate must be activated before it is used, and that message exchange continues through the change. Record the outcome in the change log. You are done when the new certificate is registered, the expiry date has moved, and the logs show no exchange errors during the window.
Why the first order stays manual
Most teams place the first order by hand because it is the one point where the whole chain runs end to end while a person is watching. A manual order confirms that the certification authority accepts the request under the certificate profile you configured, that the Central Server accepts the issued certificate against the member's registration, and that the Security Server stores and uses the new key the way your key handling requires. If any link fails, an automated renewal would fail on its first unattended run, when nobody is looking at the logs. Run the first order as a rehearsal of the production path so the automation later inherits a path that is already proven.
Record the first order as a baseline that later renewals can be compared against. Capture the certificate profile the order used, the full certification authority chain the issued certificate sits under, including every intermediate level, and the certificate's validity start and expiry. Note who approved the order, which role carried it out and the change record that authorized it. Keep these values alongside the Security Server's registration details so a renewal can be checked line by line. The Security Server user guide covers the admin workflow for each action, so use it as the reference for the steps and keep this record focused on the values you will compare.
If the Security Server keeps its keys on a hardware security module through PKCS#11, add the token and key label to the record, because the xroad-addon-hwtokens package determines how the key is reached. A renewal that changes either one has changed what the first order proved. Confirm with your certification authority operator which profile names and chain depth apply to your member class before placing the order, and confirm which admin users hold the roles needed to place and approve it. Agree in writing who may trigger a manual order once automation is live, so that an exception path does not quietly bypass the controls the first order established.
Security controls around ACME-issued X-Road certificates
Each control covers a different part of the renewal path: the key that orders certificates, the hosts allowed to act on it, the people who administer the Security Server, the record of what happened, the key store, and the host baseline. A weakness in any one of them can let a certificate change without anyone approving it. Check the points under each card before you enable automatic renewal.
Protect the ACME account key
The ACME account key is the credential that proves to the certification authority that your automation may order and renew certificates for your members. Anyone who copies it can request certificates in your name, so it should be readable only by the service account that runs renewal and kept out of broadly shared storage and backup sets. Confirm where the key lives, who can read it, and whether restore sets carry copies of it. Treat a copied account key as a compromised credential.
Limit renewal to approved hosts
Renewal and activation should run only on Security Server nodes that are meant to hold the member's authentication and signing certificates. Restrict which hosts can reach the renewal job and the admin interface, and confirm that a node added to a cluster is intended to take part in activation before it receives the automation. Check that every node in a cluster follows the same rule, so a copy of the renewal setup on an unmanaged machine cannot trigger an activation. Each host with renewal rights is a certificate-issuing path.
Assign admin access by role
The Security Server separates administration into five user roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Give each person only the role their task needs, so that no single account covers every admin task. Admin users authenticate through PAM, and LDAP groups can be mapped to X-Road roles through SSSD, so confirm that group membership changes reach the Security Server. Map roles to named people, never to shared accounts.
Security Server user guideLog renewal and activation events
Automatic renewal changes which certificate a Security Server uses, so each order, validation, installation and activation should leave a record you can review later. Decide where Security Server and ACME client logs are sent, how long they are kept, and who can read or change them. Check that a failed renewal raises an alert before the current certificate expires, and that each record shows which host performed the activation. Logs the renewal job can edit are weak evidence. Ship them to storage the job cannot rewrite.
Protect keys in an HSM
When signing and authentication keys sit in a hardware security module, the Security Server reaches the device through a PKCS#11 driver, which X-Road supports through the xroad-addon-hwtokens package for RSA and EC keys. Confirm that the renewal flow creates and activates keys on the device, and that no private key is written to a file on disk. Check that the PKCS#11 library and token access are present on every node before renewal runs, since a node without the token can fail an activation that worked elsewhere. Plan HSM backup and clustering before the first automatic renewal.
Installation guideApply the hardening baseline
The X-Road hardening guide recommends locking an account for 15 minutes after 3 failed logins, using passwords of at least 16 characters, and allowing SSH access by key only. These settings protect the admin interface and the host that runs the renewal job, which is where an attacker would go to request or activate a certificate. Confirm that the lockout applies to both the web admin and the operating system, that the password policy reaches LDAP-backed accounts, and that password logins over SSH are disabled on every node. Hardening gaps on the host undo the certificate controls.
Hardening guidelinesOperating renewals in clusters and during certificate events
Before you turn on automatic renewal, decide how a clustered Security Server group behaves when one node renews. Treat each node as its own certificate holder until your test shows otherwise. Ask the team that runs the cluster whether the ACME order runs once for the group or separately on each node, which node holds the key material used for the request, and how the new authentication certificate reaches the other nodes before the old one expires. Confirm these points against the release in use, since the supported releases are 7.8.3, 7.7.4 and 7.6.5 and cluster behavior may differ between them. Test the full sequence on a staging cluster with the same node count as production, and check that message exchange continues on every node during and after activation.
Notifications and certification authority availability need the same kind of check. Confirm which e-mail addresses receive renewal notices, whether they belong to a monitored shared mailbox or a personal inbox, and whether the sending path from each Security Server works from the production network. Then confirm what the Security Server does when the certification authority cannot be reached close to expiry: whether it retries, how often, how far before expiry the first attempt starts, and whether the existing certificate stays in use until it lapses. Write those answers into the runbook. If the authority is an external service you do not operate, ask its operator for maintenance windows and its outage notice process, because a planned outage in the final weeks before expiry leaves little room for a manual fallback.
A failed renewal is silent unless you build a check for it. Do not rely on e-mail alone. Combine three signals: the expiry date of the active authentication certificate on each node, the renewal events recorded in the Security Server logs, and a periodic comparison of the certificate in use on every node against the one your team expects to be active. Assign each alert a named owner, usually the System Administrator role on the Security Server, and map the Security Officer and other roles described in the Security Server user guide to certificate decisions. Define the escalation path and its time thresholds in your own runbook. The X-Road monitoring and operations guidance is the place to build the alert rules, so confirm the metric names and log locations for your release before you put them into production.
What to confirm before automating X-Road renewal with ACME
Automatic renewal depends on facts outside the Security Server: what the certification authority offers, which X-Road release the ecosystem runs, and how your change process treats activation. Treat each item below as a question with a named owner and an artifact to collect, and do not start automation until the answers are in writing.
Certification authority ACME support
Not every approved certification authority offers ACME for both authentication and signing certificates, so settle this first. Ask the certification authority in writing whether each certificate type can be ordered and renewed through ACME, which account and identifier rules apply, and how the certificate profile maps to your member identifiers. Request its ACME documentation and a test order in a non-production environment. If one certificate type is not supported, plan the manual path for that type.
Central Server release support
The Central Server release in your ecosystem decides whether the ACME flow is available to your members at all. Check the release notes for the version you run against the supported releases listed by NIIS, which currently include 7.8.3, 7.7.4 and 7.6.5. Ask NIIS documentation or the release notes whether the ACME flow is included in your version and whether any configuration changes are required. Record the exact version in the renewal runbook so the automation is tied to a known release.
ARI renewal timing
ACME Renewal Information (ARI) lets the certification authority publish a suggested renewal window, and the client must read and act on that window. Ask the certification authority whether it publishes ARI for these certificates and how often the suggested window changes. Then confirm which component reads it, whether the client acts on the window or only logs it, and how it handles a suggested time that falls inside a change freeze. Test the behavior with a certificate that is close to its renewal window.
E-mail notification setup
Renewal jobs can fail quietly, so notifications are the operator's early warning and must be tested before anyone depends on them. Confirm which events the client and the certification authority send, which addresses receive them, and whether a failed renewal, a failed activation and an approaching expiry each produce a separate message. Send a test notification through the same path the production job uses, then confirm the message reaches the mailbox and is not filtered. Assign a distribution list so the alerts survive staff changes.
Clustered Security Server behavior
A member with several Security Servers must renew and activate the certificate on each node without interrupting message exchange. Ask NIIS documentation how activation is applied per server, whether the new authentication certificate must be registered on every node before the old one is removed, and how the load balancer handles a node while it is being updated. Build the order of steps across nodes into the runbook and test it on a cluster that mirrors production. Confirm whether the signing certificate follows the same sequence.
Unattended activation approval
Automatic renewal only helps if your change process allows the activation step to run without a person signing off each time. Ask the security and change owners to state in writing which steps may run unattended, which events stop the job, and who is notified before and after activation. Obtain written approval for unattended activation, and request a rollback procedure that restores the previous certificate if activation fails. Keep the approval record with the job configuration so an auditor can trace it.
Questions buyers ask about ACME renewal for X-Road
What does ACME renewal for X-Road cost and what drives the effort?
The cost has two parts: one-time setup and recurring work after handover. Setup covers confirming the certification authority's ACME support, checking the Central Server prerequisites, configuring the manual first order, and proving that automatic renewal and activation work on each Security Server. Recurring work covers monitoring renewals, keeping e-mail notifications routed to people who act on them, and handling X-Road upgrades that touch the same components. Effort rises with the number of Security Servers, whether they run as a cluster, whether keys sit in a hardware security module, and how many certificates and member subsystems are in scope. DeployOpen does not publish a price list. A quote follows from the written scope, so ask for each activity as a separate line, the party that performs it, and the evidence handed over at the end.
How long does ACME renewal setup for X-Road take?
No duration applies to every estate, because the time depends mainly on dependencies outside the Security Server: the certification authority, the Central Server operator and your change windows. Confirm with the CA whether it offers ACME for authentication and signing certificates, what validation steps apply, and whether it supports ACME Renewal Information (ARI) signaling. Confirm with the operator that the CA prerequisites are approved and the certificate profiles are in place before the first order. Then plan the manual first order, the automatic renewal test and the activation check, ideally on a non-production Security Server first. Ask for a timeline that lists each external dependency as its own milestone, with the approval it needs and the party responsible for it.
What does the member's team need to provide for ACME renewal?
The member's team supplies access, decisions and knowledge of its own estate. Typical needs are administrative access to each Security Server, a named contact for the Central Server operator and the CA relationship, and a decision on which members and certificates are in scope. The team also needs a mailbox for renewal notifications that someone reads and a change window for the first activation. If admin login runs through PAM with LDAP groups mapped to X-Road roles, confirm who maintains those mappings, because they control who can change certificate settings. Ask the implementation partner which tasks it performs and which stay with your staff, and agree in writing who keeps the runbooks and configuration records after handover.
Can our own team set up ACME renewal for X-Road internally?
Yes, if your team already runs X-Road Security Servers and has an owner for the CA and Central Server relationship. The work is mainly configuration and verification, but it touches the certificates that authorize message exchange, so a mistake appears as failed exchanges across your services. Your team needs working knowledge of X-Road key and certificate handling, Linux administration, PostgreSQL and the Security Server admin interface. It also needs to test renewal and activation before relying on them. Internal teams often underestimate the effort to monitor renewal notices and rehearse the cutover. A partner adds value when you lack that experience, want an independent review, or prefer a fixed-scope delivery with written evidence. Before you decide, check whether your team has already completed a manual certificate renewal without interruption.
How does ACME renewal change on a clustered X-Road Security Server?
The cluster design decides which nodes renew, how the new certificate reaches each node and when activation happens on each one. Cluster behavior for ACME should be confirmed against the release your estate runs, so check the X-Road releases page and the vendor documentation for that version before you plan. Confirm whether each node obtains its own certificate or whether one node orders and the others receive it, and whether activation must happen on every node in the same window. Plan the order of renewal so that at least one node stays in service throughout, and confirm how your load balancer routes traffic during the switch. Also confirm how any shared database and hardware security module affect the procedure. Ask the partner for a written cluster test plan that covers a node failure during renewal.
What should a written scope for X-Road ACME renewal include?
A written scope names the systems, certificates, certification authority and deliverables, and it states what is out of scope. List each Security Server and cluster by name, each authentication and signing certificate in scope, and the CA and Central Server prerequisites the work depends on. Describe the manual first order, automatic renewal, activation, ARI handling if it applies, and e-mail notification setup as separate deliverables. For each, state who performs the work, what evidence is handed over, such as configuration records and test results, and how review or sign-off works. Include the member responsibilities, a timeline that names external dependencies, and any support or retainer terms after handover. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so the written scope is the basis for the quote.
How DeployOpen scopes and delivers ACME renewal for X-Road
DeployOpen plans and delivers ACME-based renewal for X-Road authentication and signing certificates inside your own infrastructure. We start from the Central Server and certificate authority prerequisites, agree the scope in writing, and build the manual first order before automatic renewal is switched on. Each step is documented so your team can review it, run it and own it afterward.
How we scope
- The written scope names the CA, Central Server and Security Server versions that the renewal design must cover.
- We confirm which authentication and signing certificates move to ACME and which stay on manual renewal.
- Fixed-scope engagements are agreed in writing before work starts, and ongoing support can run as a retainer.
How we build
- Confirm the CA's ACME support and the X-Road release in use before the first order is requested.
- Build and test the manual first order, then enable automatic renewal and activation in a test environment before production.
- Test ARI behavior, e-mail notifications and cluster handling of renewed certificates on each Security Server node.
How we hand over
- A runbook covering prerequisites, the first order, renewal schedules, activation steps and rollback notes.
- Configuration records for notification recipients, cluster members and the CA settings your team will maintain.
- A walkthrough with your operators, so they can check renewal status and respond to a failed activation.
How we support
- Ongoing support can cover failed renewals, CA changes and X-Road upgrades under a retainer.
- Re-testing after each X-Road release or CA change, so renewal behavior is checked against the new versions.
- Confirm with your CA and X-Road support channel which renewal features apply to your release before go-live.

