X-Road TLS cipher settings and compatibility across versions

Tightening TLS ciphers on an X-Road Security Server can stop traffic from peers that run other supported releases or older certificate types. This page explains what to inventory, how to sequence the change and what to confirm in the documentation for each installed version before you edit xroad-tls-ciphers.

On this page

How X-Road TLS cipher settings affect mixed-version ecosystems

A cipher change is also a peer compatibility change. When a member tightens TLS on its Security Server, every peer that connects to that server must complete a handshake under the new rules, so the change belongs in the same review as the peers it affects. Consider a member whose peers run other supported 7.x releases, some of which may still rely on older certificate types. The xroad-tls-ciphers setting controls which TLS cipher suites the Security Server offers on the connections it covers. Confirm in the documentation for your installed version which interfaces the setting applies to, the exact key syntax and the accepted values, because an entry that works in one release may be rejected or handled differently in another. Your own staff can make a routine change once they have inventoried their peers. Bring in a partner when the peer list is large, spans several operators, or cannot be tested in advance.

Begin with an inventory of peers. For each one, record the X-Road release it runs, the certificate types its keys use, and whether it sits in your own environment or with another operator. Ask the Central Server operator for the membership information they can share, and agree in advance who will notify members about the change and when. Then decide the compatibility policy. Either every peer must support the proposed ciphers before the change goes live, or the member accepts that some peers will fail until they upgrade. That choice carries security and service consequences, so the owners of the service should sign off on it, not only the administrators who edit the server. Put the decision and its reasoning in writing so that the next upgrade review can revisit it.

Which cipher change approach fits your ecosystem

This table compares five ways to change xroad-tls-ciphers and shows when each one fits, its main risk and the evidence to collect first. Read each row against your mix of Security Server versions and certificate types. The main takeaway is that the operator confirms exact cipher values for each version before any change goes live.

ApproachWhen it fitsMain riskEvidence needed first
Keep the current cipher listAll members run supported X-Road versions, and no security finding or audit requirement demands a change yet.Weaker suites stay enabled, and the gap grows as peers upgrade and reviewers raise findings.Effective cipher settings on each Security Server, plus a written and dated acceptance of the remaining risk.
Tighten in one changeThe ecosystem is small, all peers run the same version, and you control every Security Server involved.Members on older or unpatched Security Servers lose connectivity at the same time, and recovery depends on rollback.Full inventory of peer versions and TLS settings, plus a rollback test on a non-production Security Server.
Stage tightening behind a compatibility windowMembers upgrade on different schedules, and the operator can coordinate dates with each of them.The window closes late or never, leaving the weaker list in place as a permanent exception.Agreed dates, a list of members still on each version, and monitoring for failed TLS handshakes during the window.
Move members to EC certificates before tighteningMembers plan to adopt EC certificates and need confirmation that their peers negotiate with them before tightening.Key type and cipher suite choices interact, so a list that works for RSA members may fail for EC members.Certificate key type per member, confirmed EC support in each Security Server version, and handshake tests with EC keys.
Pause for legacy peersA few members run versions that cannot negotiate the target list and cannot upgrade in the near term.The pause keeps those peers connected but extends exposure, and it can become open-ended without an owner.Named legacy members, their current version and planned upgrade date, and a signed exception with an expiry date.

Why mixed 7.6.5, 7.7.4 and 7.8.3 deployments set the change window

Set the change window around the slowest member, because three releases are supported at the same time. The X-Road releases page lists 7.8.3, 7.7.4 and 7.6.5 as supported, so members in one ecosystem can run different versions while a cipher change is in progress. A setting that works on 7.8.3 can still break a Security Server that is still running 7.6.5. Before anyone edits xroad-tls-ciphers or adds EC certificates, confirm for each of the three versions how the release handles the cipher setting and which certificate types it accepts. Record the answers for each member, since each Security Server is upgraded on its own schedule and may sit on a different release.

The release timeline makes mixed versions likely to last. X-Road 7.8.0, released at the beginning of February 2026, is the last new-feature release of X-Road 7. 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. Plan without an end date. Teams that expect to stay on 7.x for a long period should ask their operator or NIIS for the current position, and read the NIIS blog post on X-Road 7.8.0 for the announced direction. Expect some members to trail the newest 7.x patch release for as long as they remain on 7.x.

X-Road 8 Spaceship is the other half of the timeline. It is available for testing as 8.0.0 Beta 2, with the production release scheduled for December 2026, and it is positioned as a data space solution. Because 8.x is a new major version, do not assume that cipher settings and certificate handling carry over from 7.x. Use the beta to test your cipher and certificate plan on a non-production copy, and confirm the production release status with NIIS before you set any date. The change window should then cover three things: the 7.x patch level on each member, the cipher change itself, and the decision about when to start 8.x testing.

How a TLS cipher change moves between Security Servers

The change starts with an administrator editing xroad-tls-ciphers on the local Security Server through the admin UI on TCP 4000, which is reachable only from internal networks. The local server takes its keys from its key store, either software keys or a PKCS#11 hardware token, and offers its cipher list in the TLS handshake. The peer Security Server, running another version, offers its own list. Message exchange on TCP 5500 and OCSP checks on TCP 5577 cross the trust boundary. A handshake with a shared cipher succeeds, and a failed handshake raises an alert. Before the change, confirm that both sides share at least one cipher. Then confirm that monitoring surfaces failures and that the previous list can be restored. The diagram is illustrative.

Illustrative flow of a cipher list change between two Security Servers.

Changing X-Road TLS cipher settings in a safe order

This sequence changes the xroad-tls-ciphers value on Security Servers without breaking members that run older versions or certificate types. It starts with an inventory and a backup, then tests on a non-production pair, applies the change in a staged window and ends with checks on handshakes, message exchange and OCSP. Each step closes with a check you can record.

  1. Inventory versions, peers and certificate types

    List every Security Server in your deployment with its installed X-Road version, the member and subsystem it serves, and the authentication and signing certificate types in use, including any EC certificates. Add the peers you exchange messages with, because their TLS requirements set the limits for any cipher change. Keep the table in a location the change team and the platform owner can both edit. Done when every server and peer has a version and certificate type recorded, and a second person has reviewed the table for gaps.

  2. Record current cipher setting and back up

    On each Security Server, read the current xroad-tls-ciphers value and copy it into the change record exactly as written, including the case where the setting is absent and the default applies. Then take a configuration backup with your normal procedure and store it outside the Security Server host. Restore it once in a test environment to confirm it is usable. Done when the change record shows each server's original value and you hold a backup with a timestamp and checksum that you have confirmed restores.

  3. Confirm accepted values for each version

    Open the documentation for each installed X-Road version and confirm the exact key name, the accepted values and the default for xroad-tls-ciphers. Write each version's list next to the servers that run it. Check every proposed value against each of those lists before it goes into the plan. Ask the vendor or NIIS support channel about any value you cannot find in the documentation. Done when every installed version has a matching entry in the change record and every proposed value appears in the list for each version in the inventory.

  4. Test the change on a non-production pair

    Apply the proposed value to a paired non-production Security Server, or to a private cyber range that mirrors your version mix. Include the oldest and newest versions from your inventory, and connect the peers you use in production through the test pair where your network rules allow it. Run a test request from each peer type. Done when each test request completes and the server logs show the connection negotiated without handshake errors for every peer type in the inventory.

  5. Apply the change in a staged window

    Change one production Security Server at a time, starting with the server that carries the least traffic, in a window agreed with the members who depend on it. Use the restart or reload procedure that your version's documentation specifies. Leave the remaining servers on their original value until the first server passes the verification step. Record the time, the operator and the exact value applied. Done when the change record shows one server changed with its time and operator, and all other servers still show their original value.

  6. Verify handshakes, message exchange and OCSP

    Confirm the changed server completes TLS handshakes with each peer type from the inventory. Check that it listens on TCP 5500 for message exchange and TCP 5577 for OCSP, for example with ss -ltn on the host and nc -vz to the host port from a peer network. Send a test message exchange and confirm the server retrieves OCSP responses for the certificates in use. Done when each peer completes a successful exchange, the OCSP check succeeds and the logs show no handshake failures.

  7. Monitor logs and hold the rollback plan

    Watch the Security Server logs and your monitoring for TLS errors, failed message exchanges and OCSP failures for the monitoring window in your change plan. Keep the backup and the original value ready to reapply. Before the change, agree who can trigger a rollback, which failure pattern triggers it, and how members will be told. If a trigger occurs, restore the original value, repeat the verification step and record the event. Done when the monitoring window closes with no open errors and the change record shows the final value on each server.

Security checks before tightening TLS ciphers

Tightening TLS cipher suites on a Security Server affects peers you do not run, so the checks come before the change. The four cards cover traffic that still needs older suites, mixed RSA and EC certificates across members, who approves and applies the change, and the hardening controls that should already be in place.

Measure traffic before removing suites

Removing a suite from xroad-tls-ciphers can break exchange with a peer that still negotiates it, and the failure can stay silent until traffic is measured. Measure which suites live traffic uses with each counterparty over a full business cycle, including monthly or batch consumers that call rarely. Then confirm in a test setup that an older peer still completes the handshake after the change, and keep the removed suites on a written list until that is done.

Match key types across members

Members adopt EC certificates at their own pace, so one ecosystem can contain RSA-only and EC-based peers at the same time. A cipher list that fits your own key type may still block a peer that presents the other type, and the mismatch may appear with only one counterparty. Before tightening, record the key type each member uses for TLS and signing, including hardware-backed keys through PKCS#11, and ask each counterparty to confirm the list before you change yours.

Split approval from application

A cipher change is an administrative change, so it needs two people. The Security Officer and System Administrator are distinct roles on the Security Server, so one role should approve the new list and the other should apply it, with both actions in the change record. Confirm that directory groups mapped through PAM and SSSD do not give one account both roles by accident. Write down the current xroad-tls-ciphers value before the change so the rollback is a known step.

Security Server user guide

Confirm the hardening baseline first

Review the cipher change together with the controls in the hardening guide. The guide recommends locking an account for 15 minutes after 3 failed logins, using passwords of at least 16 characters, allowing key-only SSH, and setting allowed-hostnames against host header injection. From version 7.4, global configuration should be published over HTTPS. Confirm each control is in place before the TLS change, so admin access is settled before you touch cipher settings.

Hardening guidelines

How EC certificates and HSM-backed keys change the cipher plan

With software keys, the private key sits in the Security Server's own key store, so a cipher change is mostly a configuration and peer-testing exercise. The key type still matters. An EC authentication certificate needs ECDSA cipher suites in the allowed list, so the certificate and the suites must agree before you test. Test from each peer version you exchange with, not only from the newest one.

  • Certificate and suite pairing: Confirm that the EC certificate your Security Server presents has matching ECDSA suites enabled in xroad-tls-ciphers, and that RSA-only peers still have a suite they can negotiate.
  • Per-version handshake tests: Run a fresh handshake from one Security Server of each supported version in your peer set, because older versions may offer a narrower suite list.
  • Recorded rollback: Save the previous xroad-tls-ciphers value and the restart steps your version needs, so you can restore the old list quickly if a peer fails.
  • Restart behavior: Confirm with your version's documentation whether the change takes effect after a service restart or a reload, and schedule the change accordingly.

Before you close the change, check that every tested peer completes a handshake and that your error logs and monitoring show no new failed exchanges.

Limits to confirm on X-Road TLS cipher settings

These six items mark what this page cannot settle for you. Each depends on details specific to a release, a peer or a deployment, so the answer has to come from the source named on each card. Work through them in order before you change a production cipher setting, and record each answer in your change record.

Key syntax for each release

The exact xroad-tls-ciphers key name, its syntax and its accepted values may differ between supported releases, so do not assume one spelling holds across 7.8.3, 7.7.4 and 7.6.5. Copy the value list from the release notes for each version you run and test it on a staging Security Server before any production change. Record the version and value set in your change ticket so a later upgrade does not silently change the meaning of your setting.

X-Road releases

Peer and system support

Your cipher choice only works if every counterpart can negotiate it. Each peer member's Security Server must accept the chosen suites and the elliptic curve (EC) certificates you plan to use, and each connected information system must support them on its own TLS stack. Ask each peer member in writing which suites and certificate types they run before you tighten anything, and keep a list of systems that still need older settings.

Central Server and global configuration

Cipher and certificate changes may reach beyond one Security Server when they affect what members trust. Check with your X-Road operator how the Central Server and the published global configuration handle the new settings, including the HTTPS publication path that the hardening guidelines describe for version 7.4 and later. Confirm whether a change needs a configuration distribution step before members see it.

Hardening guidelines

Ubuntu, RHEL and Docker installs

The Security Server is supported on Ubuntu Server 22.04 and 24.04 LTS on x86-64 and on Red Hat Enterprise Linux 8 and 9, and the main components are also supported on Docker. Confirm how the cipher key behaves on the exact OS and packaging you run, because file locations, service restarts and package defaults may differ between a package install and a container. Check the installation guide for supported combinations before you plan a rollout window.

Security Server installation guide

X-Road 8 Spaceship beta

X-Road 8 "Spaceship" is available for testing as 8.0.0 Beta 2, with production release scheduled for December 2026, and it is positioned as a data space solution with improved monitoring and cloud compatibility. Do not assume a cipher configuration tested on 7.x carries over to 8.x. Test the beta in a separate environment and confirm its TLS settings in its own documentation before you plan any migration.

X-Road GitHub repository

Length of 7.x maintenance

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 7.x with bug fixes and security patches beyond 2026, but the length of that period has not been decided. Plan your cipher policy without a fixed end date for 7.x support, and set a review point tied to NIIS announcements and the releases page.

NIIS blog post

Questions teams ask before changing X-Road TLS ciphers

What makes a cipher change take more or less effort?

Effort rises with the number of peers, the mix of X-Road versions in use, how many members have adopted EC certificates, whether keys sit on hardware tokens, and whether you have a test environment that matches production. The supported releases today are 7.8.3, 7.7.4 and 7.6.5, so each peer on an older line needs its own check before the cipher list tightens. Hardware tokens add work because EC keys reach the Security Server through PKCS#11 drivers and the xroad-addon-hwtokens package, and each driver and key type has to be confirmed for your setup. A small ecosystem with one version and a lab copy is a short exercise. A large mixed ecosystem with tokens is a long one. Ask for the peer count, the version list and the token inventory during scoping.

How long does a cipher change on X-Road take?

The timeline depends on the written scope and your change windows, and no duration applies to every ecosystem. The main schedule drivers are how many peers must confirm readiness, how many test cycles the lab needs, how long rollback planning takes, and how often each Security Server can be changed. Peer responses are often the slowest step because they sit outside your control. Ask for a plan with defined phases, the dependencies on each peer, the change windows it assumes, and a stated point at which work pauses if a peer cannot confirm. The timeline belongs in the quote, so compare proposals on identical phases.

What do we need to provide before the work starts?

Start by listing what the work needs from your side, because each missing item delays the plan. The usual inputs are:

  • Inventory access: read access to each Security Server's configuration, versions and key types.
  • Named owners: one technical owner per Security Server and one decision maker who approves each change.
  • Peer contacts: people at partner organizations who can confirm their version, certificates and test availability.
  • Change windows: agreed dates and hours for each environment, including any freeze periods.
  • Backups: verified backups of each Security Server and its PostgreSQL database, taken before any change.

Confirm the exact backup and key recovery steps against your own environment before the first change window.

Can our own team change X-Road ciphers without a partner?

Yes, an internal team with access to every Security Server can do this work, especially if it already runs X-Road and has a test environment. The usual gaps are peer coordination, EC and hardware token testing, and a rollback plan that has been rehearsed. Internal teams often find the test matrix is the largest effort, because each supported version and key type needs its own check. A partner adds value when staff capacity is short, when you want an independent review before a change window, or when many peers must be coordinated at once. To decide, list your versions, peers and token use, then compare that list with the hours your team can spare inside the change windows you plan.

Is tightening X-Road ciphers a one-time project or ongoing work?

It is usually both: a first change project followed by recurring checks. The project is one-time, while recurring work follows triggers such as each new supported release, a new peer joining, or a key change. The X-Road 7 line is changing. Version 7.8.0 is the last new-feature release of 7, and NIIS intends to keep maintaining 7 with bug fixes and security patches beyond 2026, though the length of that period has not been decided. X-Road 8 production is scheduled for December 2026, so a later move would reopen the cipher review. Ongoing support, upgrades and continuous testing are available as retainers, and the quote should show which items are one-time and which recur.

What should a quote for cipher work include?

A quote follows from a written scope, because DeployOpen does not publish a price list. Ask the scope to list the Security Servers and peers covered, the versions and key types in each, the hardware token and EC work, the test environment, the change plan and rollback steps, the retest, and the change windows the timeline assumes. The cost comes from the people who plan, test, change and verify the work, plus any environment costs you carry yourself. Ask which items are one-time and which recur under a retainer, and what changes if a peer delays or a new release lands during the project. Compare proposals only when they cover the same scope.

How DeployOpen scopes and delivers X-Road TLS cipher changes

DeployOpen treats X-Road TLS cipher changes as a planned change across a shared ecosystem. We start from the versions your members run, including the supported 7.8.3, 7.7.4 and 7.6.5 releases, and agree scope in writing before any server changes. Work happens inside your own infrastructure, with testing, documentation and handover included.

How we scope

  • The written scope lists every Security Server and Central Server in the change, with its version and OS.
  • It records which cipher settings are in scope, which members use EC certificates and which older peers must connect.
  • Engagements are fixed-scope, and ongoing support, upgrades and retesting are available as a retainer.

How we build

  • Inventory each peer's current cipher configuration and certificate type before any change is made, so the baseline is documented.
  • Test the proposed settings in a lab that mirrors the members' Security Server versions and operating systems before production.
  • Stage tightened settings to mixed-version members in the order the written plan defines, with a rollback step.

How we hand over

  • Handover includes the final cipher configuration per Security Server, the compatibility matrix tested and the change log.
  • Runbooks explain how to roll back a setting and check a new peer's TLS handshake.
  • Your team receives the materials to repeat these checks when a member adopts EC certificates.

How we support

  • Retainers can cover ongoing support, upgrades between supported releases and retesting after each cipher change.
  • Confirm with the X-Road release notes which cipher defaults change in each release before planning an upgrade.
  • Ask for a quote that lists members, versions and servers covered, so later changes stay in scope.

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.