EC keys in X-Road: what moves and who must coordinate
Decide before scheduling any key work: moving from RSA to EC keys covers authentication and signing keys on Security Servers 7.6 and later, plus EC configuration signing keys on the Central Server. Peers that still run older Security Server releases must be considered in the same plan, because keys you move on your side still have to work with every counterpart you exchange messages with. Confirm with each peer which release it runs and whether its Security Server can handle the new key types before you issue any EC key. The change needs a shared schedule between the Central Server operator and every member that runs a Security Server in the instance, so start by listing each server, its release and the key types its members hold today.
The current X-Road release is 7.8.3, and the supported versions are 7.8.3, 7.7.4 and 7.6.5. Security Servers below 7.6 do not appear in that supported list. Release 7.8.0 is the last new-feature release of X-Road 7. NIIS intends to keep maintaining the 7.x line with bug fixes and security patches beyond 2026, but it has not decided how long that period will last. Plan the EC migration as a 7.x task without assuming a fixed end date, and check the X-Road releases page for the current support table before you set a date.
This section does not claim performance or strength gains from EC keys, and your decision should not rest on them alone. Read the NIIS documentation on key types and compare it against your organization's cryptography policy, including which algorithms and key sizes it approves and how long keys must remain in use. If you store keys in a hardware security module, confirm that its PKCS#11 driver works with the xroad-addon-hwtokens package for EC keys, since X-Road supports both RSA and EC keys through that path. Ask each Central Server operator and member to confirm in writing the release, key types and HSM support they have, so no peer learns about the change after the first key is issued.
Which key type fits each X-Road key role
This table compares the four places where an X-Road key type decision applies: authentication, signing, Central Server configuration signing and HSM-held keys. Read each row for the release level, peer readiness and HSM support that must hold before you switch that key type. Use the final column as a checklist to confirm against NIIS documentation or your HSM vendor before the change.
| Key role | Where the choice applies | What must be true first | What to confirm with NIIS documentation or the vendor |
|---|---|---|---|
| Authentication key | Security Server authentication key and certificate on each member's server | Security Server 7.6 or later, and peer Security Servers that accept EC authentication certificates | Peer compatibility rules for older servers in your ecosystem, and whether your certificate authority issues EC authentication certificates |
| Signing key | Security Server signing key and certificate used to sign exchanged messages | Security Server 7.6 or later on the signing side, and downstream tools that can verify EC signatures | Which verifiers, message log archives and evidence tools in your ecosystem handle EC signatures |
| Central Server configuration signing key | Central Server key that signs the global configuration distributed to members | A Central Server release that supports EC configuration signing, and members able to load an EC-signed configuration | Whether every configuration proxy and member server in the instance accepts an EC-signed configuration before you switch |
| HSM-held keys | Any of the keys above stored in a hardware security module through PKCS#11 | The xroad-addon-hwtokens package installed, and an HSM token whose PKCS#11 driver supports the EC key type | The PKCS#11 driver, token model, key backup and clustering steps with the HSM vendor and NIIS documentation for xroad-addon-hwtokens |
EC keys on Security Servers and the Central Server
Security Server operators change two key pairs: the authentication key and the signing key. Both are requested and registered through the Security Server, so your first task is to confirm the server runs release 7.6 or later and that the people approving the change hold the right roles. The Security Server user guide is the baseline for each screen, but confirm menu names against your installed release.
- Release check: Confirm the server runs 7.6 or later. The supported versions are 7.8.3, 7.7.4 and 7.6.5, so servers on older lines need an upgrade decision before this change.
- Authentication key: Generate the EC key pair, submit the request to your certification authority, and register the certificate only after the CA confirms it issues EC certificates for this purpose.
- Signing key: Repeat the same flow for the signing key. Keep the two keys separate, since each has its own certificate and its own role in message exchange.
- Admin roles: The Security Officer handles keys and certificate requests, and the Registration Officer submits registrations to the Central Server. Keep these duties with different people where your policy requires.
- Directory mapping: If admin login runs through PAM and SSSD, check that LDAP groups map to the X-Road roles before the change, so no one is locked out mid-procedure.
Check that every admin account that will act on the change can log in to a test Security Server and see the key and certificate screens.
Central Server operators control the EC configuration signing key that members use to verify global configuration. A change here reaches every member, since each Security Server must accept the new signing material before it trusts the distributed configuration. Plan it as a coordinated event with the operators of every connected instance, and treat the signing key switch as the last step.
- Signing key setup: Generate the EC configuration signing key and confirm the Central Server procedure for your release in its documentation before you switch the active key.
- Member inventory: List each member's X-Road release and ask whether their Security Servers can read EC-signed global configuration. Apply the compatibility rules for older servers as set by your ecosystem governance or NIIS.
- Distribution path: Confirm that global configuration is published over HTTPS, which the hardening guidelines describe as available from version 7.4.
- Coordinated window: Agree a change window with members, the order in which they switch, and who responds if a configuration download fails.
- Rollback material: Back up the Central Server and keep the previous signing material available, then confirm with your release procedure whether restoring the prior configuration is supported.
Before announcing the change, confirm that a test Security Server downloads the global configuration signed with the new key and accepts it without errors.
When keys sit in a hardware security module, the PKCS#11 driver becomes part of every signing and authentication operation. X-Road supports HSMs through PKCS#11 drivers using the xroad-addon-hwtokens package, with RSA and EC keys, so the EC move is partly a device question. Confirm your device's EC support before you order certificates. The Security Server installation guide covers the base install that the add-on extends.
- Driver installation: Install the xroad-addon-hwtokens package on each Security Server node that uses the device, and point the configuration at the vendor's PKCS#11 library.
- Key type confirmation: Confirm with the vendor that the device generates and uses EC keys for both authentication and signing, and that your existing RSA keys keep working during the transition.
- Device checks: Verify that the token and its slot are visible to the service account, that the login procedure works after a reboot, and that device labels stay stable across restarts.
- Cluster and backup: Confirm every node in a cluster reaches the same keys, and that your backup procedure covers key material held on the device.
- Test set: Test an EC signing operation, a message exchange after certificate activation, and a restart of the Security Server.
Run an EC signing test from the Security Server host using the vendor's PKCS#11 tool, and verify the signature with the public key before you request certificates.
Deciding when peers are ready for EC keys
The path starts with the Security Server version. Servers below 7.6 go to upgrade planning first. On 7.6 or later, confirm that the Central Server is ready to sign EC configuration, then choose HSM or software key storage. For each peer, decide whether the RSA path must stay in place. Peers that still need RSA go straight to the key switch with an overlap period. Other peers pass a test on a non-production Security Server first. After the switch, verify message exchange with test peers, and retire RSA keys only when every peer has confirmed.
Decision path from Security Server version to retiring RSA keys.
How compatibility rules for older servers shape the rollout
A member's EC switch looks unchanged to its peers only if their Security Servers can still accept the new certificate. When a member moves its authentication or signing key from RSA to ECDSA on a Security Server running 7.6 or later, a peer must fetch the new certificate, validate its chain and check its status before messages flow. A peer on an older release may handle that step differently, so the failure may appear as a certificate fault and send you looking in the wrong place. The supported releases listed on the X-Road releases page are 7.8.3, 7.7.4 and 7.6.5, but a supported release does not tell you which key types an older server accepts. Confirm that with the Central Server operator and the NIIS documentation for the release in use before you assume a peer can use EC keys.
The mixed period, when some members run 7.6 or later and others do not, is where most of the rollout risk sits. A member that has switched still needs to exchange messages with peers that have not, so the order of switches should follow the peers each member actually calls. The membership list on the Central Server is only a starting point. Build an inventory with each member's Security Server version, the key types its counterparties accept according to the operator and release documentation, and the date each switch is planned. Keep the existing RSA authentication and signing certificates registered until that inventory shows that no peer still depends on them, and update the inventory after every switch.
The Central Server configuration signing change reaches members through the global configuration, so its timing belongs in the rollout plan alongside the member switches. Ask the operator how the EC configuration signing key is published, when members are expected to take the signed configuration, and whether any member release cannot verify it. Then test on one pilot member running 7.6 or later and on the oldest release still in your ecosystem, confirming that the global configuration downloads and verifies before any production switch. The exact compatibility rules must be confirmed with the Central Server operator and the NIIS documentation for the release in use. This section sets out the questions to ask, and the answers should be recorded before the first member changes its keys.
Moving a Security Server to EC keys, step by step
This sequence moves a Security Server from RSA authentication and signing keys to EC keys without breaking message exchange with its peers. Each step ends with a check you can record, so the team can stop and fix a problem before the next change reaches production.
Inventory the release, keys and peers
Record the installed Security Server version and confirm it is 7.6 or later, the release line that supports EC keys. List which authentication and signing keys are RSA, whether any key sits in an HSM through PKCS#11, the PostgreSQL setup, and the member peers your services call or serve. Export the current configuration and store a copy outside the server. Done when the system administrator and security officer both sign off the inventory and every key is matched to its certificate and its storage location.
Confirm the target release and Central Server readiness
Choose a target from the supported 7.x releases, where 7.8.3 is the current release, and read the release notes for the upgrade path from your installed version. Ask the operator of your Central Server whether it accepts EC configuration signing keys and which versions of Security Server in your ecosystem can verify EC certificates. Ask for the answers in writing. Done when the operator confirms the Central Server version, the EC support it provides, and the compatibility rules that apply to older servers your peers run.
Rehearse on a non-production Security Server
Take a PostgreSQL backup of production and confirm you can restore it. Build a non-production Security Server on the same release as production, restore that backup into it, and start the server with its configuration intact. Connect it to a test Central Server if your operator provides one. Write down each command you ran and every error you hit. Done when the rehearsal server shows the same members and keys as production and the restore has been completed at least once without manual repair.
Request and register new EC certificates
Generate new EC authentication and signing keys in software, or in a PKCS#11 device if you use an HSM, then submit certificate requests to an approved certification authority. Follow the Security Server user guide for the request and registration steps, and keep the RSA certificates active while you do. The registration officer submits the new authentication certificate for registration. Done when both new certificates are issued by the approved authority, the new authentication certificate is pending registration, and the RSA certificates remain in service.
Activate the keys and test message exchange
Activate the new keys in the admin UI on TCP 4000, reached from the internal network only. Confirm the Central Server shows the registered authentication certificate, then send a test request to a peer that has agreed to test with you. Check the message log for the exchange and for any certificate or OCSP errors. Done when the test request completes, the response is logged, and no certificate status errors appear in the logs for the new keys.
Coordinate the Central Server configuration distribution
Agree with the Central Server operator on when the configuration change is distributed, who confirms each step, and how any EC configuration signing key change on the Central Server side is handled. Tell peers which change window applies so they can watch for failed exchanges. Keep the RSA keys in place during this period. Done when the operator confirms the global configuration shows your member with the new keys and no peer reports failed exchanges after distribution.
Retire the RSA keys after overlap
Keep the RSA keys and certificates in place through an overlap period agreed with your peers. Remove them only after the EC keys have carried production traffic without errors for that whole period. Record the removal in the change log, then take and test a fresh backup of the configuration and database. Done when the RSA certificates are deleted or deactivated, the new backup restores cleanly in your test environment, and peers confirm their exchanges continue.
Security and operational risks during the key change
Six areas carry most of the risk when X-Road moves from RSA to EC keys: where the keys live, who can change them, how you get back, and how you see problems during the overlap. Each card names one control to set before the change window opens, and the controls depend on each other.
Decide where the keys live
Decide where the new EC authentication and signing keys will live before the change starts: in software on the Security Server or in a hardware security module reached through PKCS#11 with the xroad-addon-hwtokens package. Confirm with your HSM vendor and the X-Road documentation that your model generates EC keys on the version you run. Check who can unlock the token, how its PIN is stored, and how the token is backed up or shared across cluster nodes.
Separate the three admin roles
The Security Server user guide defines Security Officer, Registration Officer and System Administrator as distinct roles, so assign each to a different person before anyone generates or activates a key. Keep the person who approves certificate registration out of day-to-day server operations, and write down who holds each role for the change window. If admin users sign in through LDAP via SSSD, confirm that the group-to-role mapping grants only the intended role on each node.
Security Server user guideBack up keys and PostgreSQL first
Take a verified backup of the key material and of the PostgreSQL database that the Security Server requires, before the first new key is generated. For software keys, copy the key store to protected storage; for an HSM, follow the vendor's backup procedure for the token. Restore both to a test host and confirm the server starts with the restored state, because an untested backup is not a usable rollback point.
Harden admin access before the change
The X-Road security hardening guide, version 0.6 dated 09.01.2025, sets the admin access values to apply: lock an account for 15 minutes after 3 failed logins, require passwords of at least 16 characters, and allow key-only SSH. Apply these settings on every Security Server, including standby nodes, before the change window opens, since the change adds admin sessions you want protected. Record any setting you cannot apply and why, so the exception is visible to your auditors.
Hardening guideMonitor the overlap period
While RSA and EC certificates are both valid, watch for failed message exchanges, rejected registrations and certificate status warnings on each Security Server. Compare operational logs with the baseline you captured before the change, and note which peers still present RSA certificates or have not yet moved. Name one person to watch the overlap and give them thresholds agreed before the change window that trigger a rollback.
Plan the rollback path
Write the rollback steps before the change: which certificate to reactivate, which key or token to select again, and the restore order for PostgreSQL and the key material. Name the rollback owner and the decision point after which the team stops retreating and fixes forward. Rehearse the steps on a non-production Security Server so that the first attempt in production is not the first time anyone runs them.
What to confirm in your environment before you start
Start by confirming three limits that decide whether the move can happen at all. First, every Security Server must run release 7.6 or later on a supported operating system: Ubuntu Server 22.04 or 24.04 LTS on x86-64, or Red Hat Enterprise Linux 8 or 9. Check the installed release on each node, including cluster members and standbys. Second, confirm the Central Server operator is ready to sign the global configuration with EC configuration signing keys, a separate change that the operator schedules. Third, check your hardware security module. Its model and PKCS#11 driver must support EC keys through the xroad-addon-hwtokens package, and the vendor should confirm this in writing before you set a rollout date.
Plan the EC work against the X-Road 7 support horizon, which is not settled. X-Road 7.8.0, released at the beginning of February 2026, is the last new-feature release of the 7.x line. NIIS intends to keep maintaining X-Road 7 with bug fixes and security patches beyond 2026, but it has not decided how long that maintenance will run. Ask NIIS or your support provider for the current position in writing before you commit to a multi-year migration window. X-Road 8 "Spaceship" is a separate planning track: 8.0.0 Beta 2 is available for testing, and the production release is scheduled for December 2026. Evaluate it on its own timeline with its own test plan and budget owner, and keep it out of the EC change window.
Finally, confirm the release level of every peer you exchange messages with. EC keys only help end to end if both sides can handle them, and an older peer may not. Ask each member and operator for its Security Server release and whether its authentication and signing certificates are EC or RSA. Then test the exact outcome for each pair in a staging environment: whether messages are accepted or refused, and how the peer behaves when it verifies your new certificate. Record the result per peer in the change plan. Use the X-Road releases page to compare peer releases with the supported lines, 7.8.3, 7.7.4 and 7.6.5, and treat any peer off those lines as a separate conversation before cutover.
How much does moving X-Road to EC keys cost and take?
What drives the cost of moving X-Road to EC keys?
The main cost drivers are how many Security Servers you must change, how many peers run older releases, and what your key storage requires. Each Security Server needs its authentication and signing keys replaced and its configuration checked, so the server count sets the base workload. Peers on older releases add coordination work, because they may need an upgrade or testing before your switch is safe. Keys in a hardware security module add vendor-specific steps through PKCS#11 tooling. A test environment that mirrors production adds setup effort but reduces rework in production. Central Server coordination, including any change to the configuration signing keys, is a separate piece that your operator must schedule. Ask every quote to price these items separately.
What sets the timeline for switching X-Road to EC keys?
Your current release level, the change windows you can get, and the overlap period decide the timeline. Security Servers on release 7.6 or later can move to EC keys directly, while older servers need an upgrade first, which adds a step before any key change. Change windows set when production servers can be touched, and a shared ecosystem may restrict them further. The overlap period is the time both key types remain valid, so peers that have not yet switched can keep exchanging messages. Plan around the peer with the slowest change process, not only your own calendar. Confirm the overlap length and the change calendar with your Central Server operator before you commit to a date.
What do we need to provide for an X-Road EC key change?
You need administrative access to every Security Server in scope, including the accounts required to change keys and restart services. You also need a named contact at the Central Server operator who can approve configuration changes and answer questions during the change window. Provide a current peer list with each member's release level and key type so the work can be sequenced. Take current backups of each server and its database before any change, and test that a restore works. Finally, obtain written change approval from your own change board and from the ecosystem where one applies. Missing any of these items can delay the start more than the technical work does.
Can our own team move X-Road Security Servers to EC keys?
Yes, a capable team can do this in-house if it has Linux administration, PostgreSQL and PKI skills and works from the official X-Road documentation for its release. The X-Road Security Server user guide covers the administrative tasks involved. A partner becomes useful when many Security Servers must change in a short window, when HSM-backed keys need vendor-specific work, when no one on the team has performed a key change before, or when you want a rehearsal in a test environment with written evidence of each step. Partner work runs under a fixed written scope, so deliverables and handover are defined in advance. Your team can decide which parts to keep in-house.
Do we need to upgrade X-Road before switching to EC keys?
Any Security Server below release 7.6 must be upgraded before it can use EC keys for authentication and signing, because EC support applies to Security Servers 7.6 and later. Check the installed version on every server in scope, and do not assume that a server is current because its neighbors are. The supported 7.x releases today are 7.8.3, 7.7.4 and 7.6.5, so an upgrade to one of these is the usual target. Each upgrade is its own change with its own backup, test and approval steps, so add it to the plan before setting the EC key date. Confirm the upgrade path for your specific release with the X-Road documentation.
Does DeployOpen issue certifications for an X-Road EC key migration?
No. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations. DeployOpen can prepare the evidence an assessor will ask for, such as a key inventory before and after the change, change records, configuration and hardening settings, and results from a rehearsal in a test environment. Ask your assessor which evidence they expect before the work starts, so that it is written into the scope. Discuss the controls in your framework with the assessor directly, because the outcome of any assessment belongs to them.
How is an X-Road EC key migration quoted, and what is in scope?
A quote follows from the written scope. DeployOpen does not publish a price list, and no price, budget or duration for this work is stated here. Most engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. To compare quotes, provide the same inputs: the number of Security Servers, the number of peers and their release levels, whether HSMs are used, whether a test environment exists, and which Central Server operator is involved. Ask each provider to separate one-time migration work from any ongoing support or retainer. Also ask what is excluded, such as changes that only the Central Server operator can make.
How DeployOpen scopes and delivers an EC key change
DeployOpen usually plans the move from RSA to EC keys as a fixed-scope engagement inside your own infrastructure. We start by mapping which Security Servers run 7.6 or later, which keys still use RSA, and which keys sit on hardware security modules before any key is changed. Scope, deliverables and timelines are agreed in writing before work starts.
How we scope
- Inventory every Security Server, its X-Road version, and whether it runs 7.6 or later before planning any key change.
- Record which authentication and signing keys are RSA, which are EC, and where each private key is stored.
- Agree in writing which EC configuration signing keys on the Central Server are in scope, and the order of the changes.
How we build
- Test EC key generation and registration in a staging environment that mirrors your production versions.
- Test EC keys on hardware security modules through PKCS#11 using the xroad-addon-hwtokens package.
- Document the compatibility rules for servers below 7.6 before changing any key that they depend on.
How we hand over
- Deliver a change record listing each key moved, the server versions affected and the rollback steps.
- Provide an operator runbook for generating, registering and activating EC keys on each Security Server.
- Walk security and operations teams through the test results and open items, with an owner for each.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the change is complete.
- Plan follow-up checks against the X-Road release you run, including the supported versions 7.8.3, 7.7.4 and 7.6.5.
- Track NIIS guidance on how long X-Road 7 receives fixes, since that period has not been decided.

