X-Road global configuration, anchors and signing keys

X-Road global configuration tells every Security Server which members, services and trust anchors to accept. This page explains how it is signed, distributed and rotated, and what a change means for member Security Servers.

On this page

How X-Road global configuration and anchors keep member trust intact

Global configuration and its anchors decide which instances, member certificates and Security Servers your ecosystem accepts, so every member must trust the same configuration. The signing keys behind that configuration have to be managed on purpose, because a key or certificate change that reaches only some Security Servers breaks message exchange for the members left behind. On the operator side, the Central Server publishes global configuration, each Security Server consumes it, and the Configuration Proxy is a separate component for redistributing or adapting configuration from one or more sources. The X-Road security hardening guidelines recommend publishing global configuration over HTTPS from version 7.4, so check your distribution channel against that recommendation before any key work begins. Confirm the exact signing and anchor file behavior for your version in the official documentation, because the mechanics can differ between releases.

Teams need this topic in four situations: when a new instance is created, when a configuration signing key changes, when a certificate in the configuration changes, and when the ecosystem moves to a new Central Server. Each one changes what the Security Servers must trust, and the timing matters. Before any change, list every Security Server, its X-Road version and how it obtains global configuration, including any proxy in the path. Then agree who approves the change, who performs the anchor and key steps on each side, and what evidence will show that each member holds the new configuration. A test instance that mirrors your distribution path is the safest place to rehearse the sequence, since a rollout that stops partway can leave members on different configurations. Check the X-Road releases page to confirm that every participating Security Server runs a supported release, such as 7.8.3, 7.7.4 or 7.6.5, before you schedule the change.

Options for X-Road global configuration distribution and key handling

This table compares the main choices for how global configuration is distributed and how its signing keys are held. Read each row as a decision: the distribution method sets how member Security Servers fetch configuration, and the key option sets where the signing key lives. The main takeaway is that HTTPS distribution from 7.4 is the baseline to plan around, and the certificate and key choices should be settled before anchors are shared with members.

OptionWhat it affectsWhen it fitsWhat to confirm
HTTPS distribution of global configurationHow member Security Servers download the signed global configuration and anchorAny instance on 7.4 or later, which the hardening guide recommendsEvery Security Server in the instance runs 7.4 or later
Self-signed distribution certificateTrust in the HTTPS endpoint that serves global configurationClosed instances where the operator controls every member's setup and can share the certificate securelyHow the certificate reaches members and when it must be replaced
Trusted distribution certificateThe chain members verify when fetching configuration over HTTPSInstances that want members to verify the endpoint through a standard trust chainCertificate issuer, renewal process and the replacement steps in the sibling HTTPS publishing topic
Software-held signing keysWhere the global configuration signing key is stored and how it is usedSetups where key material on the server is acceptable under your key management policyWho can read the key files, how they are backed up and how rotation is run
PKCS#11 hardware security module with xroad-addon-hwtokensKeeps the signing key inside an HSM that is accessed through a PKCS#11 driverOperators whose policy requires hardware-backed keys or limits key exportHSM model and driver support for RSA or EC keys, and the xroad-addon-hwtokens version for your release
Version baselineWhich features, fixes and security patches your instance receivesCurrent release 7.8.3. Supported releases are 7.8.3, 7.7.4 and 7.6.5Confirm the supported list on the X-Road releases page at planning time

Steps to plan an X-Road configuration signing key rotation

This sequence takes a planned signing key rotation from inventory to verification across the operator's Central Server and every member Security Server. It ends with each Security Server having downloaded and accepted the new global configuration, with the old and new key material documented and recoverable until the change is closed.

  1. Inventory Central Server and Security Server versions

    The operator lists the Central Server and every member Security Server with its installed X-Road version, operating system and database setup. Confirm each component runs a release on the supported list, which currently includes 7.8.3, 7.7.4 and 7.6.5, and choose a target release that all components can reach. Done when the inventory names every server, its version and the target release, and the operator has confirmed that the target is supported for each server. Servers that are behind need an upgrade plan before the rotation.

  2. Confirm global configuration is published over HTTPS

    Check that global configuration is served over HTTPS, which the X-Road security hardening guidance covers from version 7.4 onward. From a Security Server network segment, fetch the published configuration and confirm the certificate is one the Security Servers are set to trust. Done when every Security Server downloads the configuration over HTTPS, the trusted certificate is recorded, and the operator has confirmed the exact publishing settings in the hardening guide for the version in use.

  3. Back up signing key material and anchor files

    The operator copies the current configuration signing key material and the configuration anchor files to protected storage, with checksums recorded and access limited to named administrators. Restore a copy on a separate host, or at least confirm it can be read, so a failed rotation can be reversed. Done when the backup inventory lists each file, its checksum and storage location, and a restore has been demonstrated on a test host. Take the file names and locations from the Security Server guide for your version.

  4. Decide signing key location and confirm access

    The operator decides whether the new signing key stays in software or moves to a hardware security module reached through a PKCS#11 driver. X-Road supports this with the xroad-addon-hwtokens package for RSA and EC keys, so confirm the package and driver versions against the installation guide for your release. A hardware token adds an access path that must be tested before the change window, including driver, slot and PIN handling for the team that runs the signing step. Done when the chosen location is written down and the people who need signing access have completed a test signing in a non-production setting.

  5. Rehearse the rotation on a non-production instance

    Run the full rotation on a non-production X-Road instance that mirrors the production Central Server version, Security Server versions and global configuration publishing setup. Record every command, timing observation and error, and note which Security Servers accept the new configuration and which need attention. Done when the rehearsal completes end to end, the written runbook reflects what actually happened, and the team agrees on rollback steps for a failed production change.

  6. Schedule the change window with member administrators

    Agree a change window with the administrators of every member organization whose Security Server will download the new configuration, and share the runbook, rollback steps and contact list in advance. Confirm who on each member side will check their Security Server after the change and who can be reached during the window. Done when each member has acknowledged the window in writing and the operator has a named contact for every Security Server. Window length and notice periods should follow the operator's own change policy.

  7. Perform the signing key rotation

    The operator creates the new signing key, updates the global configuration with the new key material, and publishes the signed configuration using the commands in the guide for the chosen release. Work through the runbook exactly as rehearsed, keep the backup available, and stop if any check fails. Done when the Central Server reports the new configuration as published, the anchor and key files on the operator side match the inventory, and the old key is retained according to the backup plan.

  8. Verify each Security Server accepts the new configuration

    Each member administrator checks that their Security Server has downloaded the updated global configuration and accepted the new signing key, using the verification settings in the Security Server guide for their version. The operator checks the same from the Central Server side and compares results against the inventory. Done when every Security Server in the inventory shows the new configuration as downloaded and accepted, any exceptions have an owner and a fix, and the outcome is recorded in the change log.

Security Servers only act on configuration that passes anchor verification

The Central Server signs the global configuration, and each member Security Server downloads it over HTTPS. The Security Server checks the download against its configuration anchor before using it, so the anchor is the trust root for the whole ecosystem. Only a configuration that passes verification drives the decision to allow or refuse member traffic. When the Central Server rotates its signing key, it signs a new configuration under the new key, and every Security Server must fetch and verify that update. Confirm that each Security Server has picked up the new configuration after a rotation.

Signed configuration flows to Security Servers, which gate traffic on verification.

Why a signing key change needs a planned window

Rotating a configuration signing key is a coordinated change, and the planning starts from one fact: every Security Server in the ecosystem relies on the same trust material. The Central Server signs the global configuration, and each Security Server uses its configuration anchor to check what it receives. If a Security Server still holds trust material that no longer matches, it may be unable to validate the configuration and stop exchanging messages, even though its own organization changed nothing. Members who have already taken the new configuration and members who have not can therefore be out of step at the same time. Plan the window so that the new anchor and configuration reach each Security Server before the old trust material is retired.

The operator owns the timing, so the operator also owns the notice. Tell every member administrator the planned window before it opens. Include the exact change, the steps each member must take on their Security Server, and a named contact who can answer questions during the change. Ask members to confirm that their Security Server has picked up the new configuration, and keep a record of those confirmations. Documentation carries the same weight. Record who approved the change, which signing key is being retired and which one replaces it, the verification results from a test Security Server, and when each step was completed. This record is the audit trail you will need when a member reports a failed exchange weeks later, so store it where the operations team can reach it during an incident.

Before any window is booked, confirm the rollback options for the X-Road version your ecosystem runs. Find out whether the previous global configuration and anchor can be restored, which backups of Central Server data and key material must exist before the change starts, and whether the restore has been rehearsed on a non-production instance. Write the rollback decision point into the plan, with the person who has authority to call it. Then confirm the support window. X-Road 7.8.0 is the last new-feature release of X-Road 7. NIIS blog on X-Road 7.8.0 says NIIS intends to keep maintaining X-Road 7 with bug fixes and security patches beyond 2026, but the length of that maintenance has not been decided. Confirm the current position with NIIS before you schedule any long-lived change, because a rotation planned on a version you will have to leave later creates a second migration to plan.

What goes wrong when anchors or signing keys change

A change to global configuration touches four things at once: the signed configuration, the anchors that verify it, the keys that sign it, and the certificate that carries it to each Security Server. The cards below cover five failures that tend to appear during these changes, with the checks to run before and after each one.

Security Server running stale configuration

Each member Security Server works from its own downloaded copy of global configuration. A Security Server that has not fetched the new signed configuration keeps operating on the old one, so members and services added or changed in the update may not resolve, and trust decisions may rely on keys that were already rotated out. Before the change, list every Security Server and confirm how and when each one downloads configuration. After the change, confirm each one reports the new configuration version and that a test exchange with a changed member succeeds.

Outdated or wrongly copied anchor

A configuration anchor is the trusted starting point a Security Server uses to verify global configuration. An anchor copied from the wrong instance, or one left over from before the instance was re-created, will reject valid configuration or trust the wrong one, and the failure often appears only on the server that was handled last. Before the change, record the instance identifier and the anchor fingerprint from the operator's published source. After the change, compare every Security Server's anchor against that record and confirm the instance identifier matches.

Signing key on unavailable hardware token

Configuration signing keys can be held on a hardware token or HSM accessed through a PKCS#11 driver, with the xroad-addon-hwtokens package supporting RSA and EC keys. If the token is unplugged, the PIN is lost, the driver changes after an operating system update, or the device is offline when rotation is due, the operator cannot sign new configuration and the change stalls. Before the change, confirm the token, driver version and PIN custody are documented and tested on a non-production instance. After the change, confirm the new signing key loads and signs without errors.

Distribution certificate expires silently

When global configuration is published over HTTPS, which is supported from version 7.4 onward, the distribution certificate is what Security Servers trust when they download it. If that certificate expires or is replaced without notice, downloads fail quietly and each Security Server keeps the last configuration it fetched, so the problem stays hidden until a change is needed. Before the change, record the certificate expiry date and confirm which trust chain each Security Server uses. After the change, confirm downloads succeed on every Security Server.

Hardening guide

Version mismatch across components

The Central Server and each Security Server run their own X-Road release, and the supported releases are 7.8.3, 7.7.4 and 7.6.5. A Security Server on a release that does not match the Central Server may fail to apply a configuration or key change even though the download itself succeeds. Before the change, inventory the release on the Central Server and on every Security Server, and schedule any upgrade separately from the key change. After the change, confirm each Security Server reports the expected release and applies the new configuration.

X-Road releases

Who does what during an X-Road key rotation

The operator running the Central Server owns the change itself. They prepare the new signing key material, publish the updated global configuration and set the window in which members are asked to pick it up. Because every member depends on this step, the operator sends the notice early enough for members to plan and states exactly what will change.

  • Plan the rotation: Record the affected instance, the current and new signing key details and the publication time, and agree them with members before the window opens.
  • Stage and publish: Prepare the new configuration on the Central Server and publish it only after the plan is approved, keeping the previous configuration available for rollback.
  • Confirm distribution: Check that the published configuration can be retrieved over the channel members use, including HTTPS where it has been enabled.
  • Keep the change record: Store the change ticket, the approval, the Central Server backup taken before the change and the publication timestamps.

Before the window opens, confirm that a current backup exists, that the rollback steps have been tested outside production and that every member contact has received the notice.

Protecting signing keys and anchors in production

Global configuration and anchors are only as trustworthy as the Security Servers that fetch and apply them. The controls below cover admin access, SSH, key material, distribution and change records, and each one should be confirmed against your X-Road version and environment before you rely on it.

Restrict admin access by role

The Security Server defines five user roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Admin users authenticate through PAM, and PAM can be connected to LDAP through SSSD so that LDAP groups map to X-Road roles. Map each role to its own group and review membership on a fixed schedule. Confirm the role names and the SSSD and PAM steps in the user guide for your version, then test that a user in one group cannot perform another role's tasks.

Security Server user guide

Keep SSH key-only with lockout

Shell access to a Security Server sits outside the X-Road role model, so the hardening guide recommends key-only SSH for every account that can reach the host. It also gives lockout guidance for repeated failed logins, which limits password guessing against any local account that still needs a password. Disable SSH password logins before go-live. Where a local password remains, the guide recommends at least 16 characters. Confirm the lockout behavior on your distribution, because PAM and SSH settings vary by platform.

Protect signing keys and backups

Whoever holds the keys that sign global configuration or identify a Security Server can present content that members will trust, so key exposure matters more than any single misconfigured file. Where policy requires hardware protection, X-Road supports hardware security modules through PKCS#11 drivers using the xroad-addon-hwtokens package, with RSA and EC keys. Back up key material only to encrypted, access-restricted storage, and test restores. Confirm which keys your version keeps in a token and which remain on disk, and whether your backups include them.

Distribute configuration over HTTPS

Anchors and global configuration reach Security Servers over the network, so an unprotected distribution channel would let an attacker substitute content. The hardening guide recommends publishing global configuration over HTTPS from version 7.4 onward. Serve configuration only over HTTPS with a certificate that your members can verify. Confirm the certificate chain, the anchor import steps and the verification settings on each Security Server for your version before you change the distribution point.

Hardening guidelines

Set allowed hostnames

The allowed-hostnames setting limits which host names a Security Server accepts, which guards against host header injection. Without it, a request carrying a spoofed host header can reach logic that assumes a trusted name. Set the allowed hostnames to the names your members actually use, and no others. Confirm the exact configuration key, its format and how it behaves behind load balancers and reverse proxies in your version, because an incorrect value can block legitimate traffic.

Log and record configuration changes

Changes to global configuration, anchors and signing keys should leave a record of who made them, when, why and who approved them. Keep Security Server logs, audit records and your change tickets together in a store that administrators cannot quietly edit. Tie every anchor re-import and key rotation to a named change request. Confirm which events each log records in your version, how long logs are retained in your environment, and whether they are shipped off the host.

How much effort does X-Road global configuration work take?

What drives the effort of a signing key rotation?

The effort depends mainly on how many Security Servers rely on the instance's global configuration and how many organizations must coordinate the change. The core work is staging the new signing key, publishing the updated configuration and handling the anchor on each member side. Other drivers include the number of member organizations, how many Security Servers sit on hosts you do not manage, the X-Road version running in each place, and whether the change touches only the Central Server or also a Configuration Proxy. Each additional version or environment adds a verification step and a rollback path. Ask any provider to list every step and every system it touches before agreeing the scope.

Does rotating a configuration signing key break member traffic?

It can, if members do not pick up and verify the updated configuration in the order the change requires. Anchors and verification settings on each Security Server determine whether a member accepts the new configuration, so a mismatch can leave that member working from outdated trust data. Check the exact behavior for your X-Road version in the official release notes and documentation, then rehearse the sequence in a non-production instance with a representative set of members. Agree the change window, a fallback plan and a named contact for each member before starting. Monitor message exchange during and after the window, and keep the previous key material available until the rollback period closes.

Is a hardware security module required for X-Road global configuration signing?

Not in every setup. Whether you need one depends on your key protection policy, your compliance obligations and whether the signing key can be held on a token in your deployment, which you should confirm against the official documentation. X-Road supports hardware security modules through PKCS#11 drivers, using the xroad-addon-hwtokens package, with RSA and EC keys on the Security Server. Confirm separately how your Central Server signing keys are handled. If you use an HSM, the effort includes driver installation, token initialization, documented key ceremonies, token backup and tested recovery. Ask for each of these items to appear in the written scope so the cost is visible before work starts.

How long does a global configuration engagement take to finish?

The duration depends on scope and ecosystem size, and it must be agreed in writing before work starts. No general figure applies, because a single-instance change with a few members is a very different job from a rotation across many organizations in several countries. Drivers include the number of members and Security Servers, the number of change windows, how many environments need a rehearsal, whether anchors must be re-created on member sites, and how quickly member contacts respond. Most DeployOpen engagements are fixed-scope, so the written scope sets the deliverables and the timeline together. Ask for a plan that lists each phase, each dependency on a member, and what happens if a member misses its window.

What does the client need to provide for X-Road configuration work?

Plan to provide administrative access, change windows, member contacts and verified backups before the work starts. In practice this means:

  • Administrative access to the Central Server, your Security Servers and the hosts that run them, with an account for each person who will run a step.
  • Agreed change windows and a freeze calendar for members, so a rotation does not collide with other releases.
  • A named contact for each member organization and each Security Server host, with a clear escalation route.
  • Verified backups of Central Server and Security Server configuration and databases, plus a documented restore procedure.

Confirm which of these your team already has, because missing items usually stall the first phase of the work.

Can an internal team run X-Road global configuration changes alone?

Yes, if the team has the skills and time to plan, rehearse and document the change, and if it can coordinate with every member. The official documentation covers the procedure, and the Security Server user guide describes the admin roles, including Security Officer and System Administrator, which helps split duties. An internal team typically needs experience with PKI, PostgreSQL, Linux administration and change control, plus a rehearsal environment. A partner adds an outside review of the plan and an extra operator during the window. Check whether your team has run this type of change before and whether a second person is available during the window. Separating duties across people is a control worth keeping either way.

What does a fixed-scope quote for X-Road global configuration include?

A fixed-scope quote follows from a written scope that names the systems, members, deliverables and timeline. DeployOpen does not publish a price list, so the quote is built from that scope. Expect it to cover:

  • The Central Server and Security Server hosts in scope, and the X-Road versions they run.
  • The steps: key staging, configuration publication, anchor handling on each member side, verification and rollback.
  • Rehearsal, change window support and the post-change checks.
  • Documentation and evidence, such as the runbook and the change record.
  • Assumptions, client responsibilities and the process for a change order when scope shifts.

Ask the provider to show what is included and what is excluded. The rotation itself is a one-time piece of work, while recurring costs appear only if you add a retainer.

How does a retainer handle recurring global configuration changes?

A retainer covers ongoing support, upgrades and continuous testing, so recurring changes can be handled under one agreement with each change scoped in writing. The retainer terms should state which changes are included, how member requests are received, how many change windows are available and whether any response expectations are defined. Ask how a larger task, such as a full signing key rotation or a move to a newer X-Road release, is scoped and scheduled. Key rotations, new members and upgrades may fall into different categories, so confirm where each one sits. The retainer is a recurring commitment, while the initial configuration work is usually a separate, one-time engagement.

How DeployOpen scopes and delivers X-Road configuration work

DeployOpen plans and implements X-Road global configuration, configuration anchors and signing keys inside your own infrastructure, with the operator's decisions recorded before any change is made. Each engagement is fixed-scope, so the written scope sets which central and member-side changes are covered, what gets tested and what gets handed over. Work runs in infrastructure you control, and the operator's trust decisions stay with the operator.

How we scope

  • A written scope names the global configuration changes, anchor steps and signing key actions covered.
  • We confirm which X-Road version and HTTPS distribution setup each Security Server runs before planning.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • We document the current trust state, including anchors held by each Security Server, before any change.
  • Anchor download and re-creation, and signing key rotation, are sequenced so member Security Servers pick up changes.
  • Where the operator uses hardware security modules, we confirm PKCS#11 driver support and key types before rotation.

How we hand over

  • Handover includes a runbook for anchor re-import, signing key rotation and rollback steps for your team.
  • Each change is verified on test and production Security Servers, with results recorded in the handover pack.
  • Configuration, key inventory and decisions are documented so your compliance team and future operators can trace them.

How we support

  • A retainer can cover scheduled key rotations, global configuration changes and Security Server checks, as agreed in writing.
  • Upgrades to later X-Road 7 releases, such as 7.8.3, are planned as separate fixed-scope work.
  • Ask whether support covers monitoring of anchor and signing key dates, and who responds to incidents.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.