Cross-border data exchange with X-Road federation

Cross-border X-Road exchange links two national ecosystems, each with its own operator, trust services and member agreements, so it is a legal and operational project as well as a technical one. This page covers how to scope, configure and roll out a federation between countries.

On this page

Why cross-border data exchange with X-Road federation needs two operators

A federation connects two X-Road ecosystems, and each ecosystem has its own operator, its own trust services and its own member agreements. That is why an exchange with an agency or operator in another country needs both operators to agree how the two sides connect before any record moves. The Estonia and Finland model is the reference point most teams meet first. The Nordic Institute for Interoperability Solutions (NIIS) develops X-Road, and its members are Estonia, Finland, Iceland and the Faroe Islands. X-Road is published as open-source software under the MIT license, so the software is shared, but each national ecosystem is run by its own operator.

Each operator keeps the parts that define its own ecosystem. Its Central Server publishes the configuration its members rely on, its certification authorities and timestamping services are approved under its own rules, and it signs the agreements that admit each organization as a member. These items do not move to the other side when a federation is set up. What changes for the buyer is the workload: you now maintain a second set of X-Road versions, a second set of certificates with their own renewal dates, and a second set of member agreements and service access terms, and all of them have to line up. A mismatch in any one of them can stop messages at the boundary even when both servers run cleanly.

Before the design is fixed, put these questions to both operators in writing: which X-Road release each side runs (the current release is 7.8.3, and 7.8.3, 7.7.4 and 7.6.5 are the supported versions, per the X-Road releases page), which certification authorities each side accepts, who may authorize a member to publish or consume services across the boundary, and how a certificate renewal or upgrade on one side will be coordinated with the other. Also ask how each operator plans for the X-Road 7 line, since 7.8.0 is its last new-feature release and the length of later maintenance has not been decided, and when X-Road 8, currently in beta with a production release scheduled for December 2026, will be adopted. Confirm all federation specifics with the operators involved, because their rules are the ones your team must follow.

Which cross-border rules shape an X-Road federation build

This table lists the EU rules that decide whether data can cross a border through a federation, and what each one means for the build. Read each row as a question to answer before connecting two ecosystems: who your parties are, where data sits, and who can reach it. The main takeaway is that support access from abroad and foreign government requests count as much as the data path itself.

RequirementSourceWhat it means for the build
GDPR Article 44 transfersRegulation (EU) 2016/679, Article 44 and Chapter VEach transfer to a third country, onward transfers included, needs a Chapter V basis. Confirm each party's country, processor locations and onward recipients.
Remote access and storageEDPB Guidelines 05/2021, version 2.0Remote access from abroad, even only displaying data, and storage outside the EEA are transfers. Confirm who views data from abroad, vendor support included.
Adequacy for US recipientsCommission Implementing Decision (EU) 2023/1795; appeal pending as Case C-703/25 PAdequacy covers only US organizations on the Data Privacy Framework List, and that finding is under appeal. Confirm each US recipient's listing before relying on it.
Schrems II and transfer toolsCJEU Case C-311/18 (16 July 2020)Privacy Shield was invalidated, but standard contractual clauses remained valid. Confirm the transfer tool each party relies on and that each destination's law was assessed.
Foreign disclosure ordersRegulation (EU) 2016/679, Article 48A third-country order to disclose personal data is recognized only under an international agreement. Confirm which parties could receive foreign orders, including US-headquartered vendors.
Third-country government access to non-personal dataRegulation (EU) 2023/2854 (Data Act), Article 32Providers must take measures against third-country government access to non-personal data in the Union that conflicts with EU or national law. Confirm who holds this data.
Scope of NIS2Directive (EU) 2022/2555, Articles 2 and 3, Annex ICentral government is in scope, public administration is high criticality, and defense, national security, public security and law enforcement are excluded. Confirm each party's status.

How a message crosses two X-Road ecosystems

The diagram starts at a member information system in Country A, which calls its own Security Server. That Security Server sends the message over the agreed link on TCP 5500 to the Security Server of the Country B member, which calls the target system. Each side relies on its own Central Server for global configuration and on its own certification authority and OCSP service to validate certificates. The border node marks where transfer rules apply. Each Security Server writes to its own message log, and personal data may appear in both logs and the payload, so confirm the logging and retention design before go-live.

Illustrative flow of one message across the border between two X-Road ecosystems.

Settings that decide whether X-Road federation works across borders

Federation across borders depends less on the software itself than on a handful of settings that both operators must match or accept. Each card covers a setting your team controls on its own servers, and each one shapes what the other operator must allow on their side of the link.

Security Server hosting

Each member runs a Security Server on Ubuntu Server 22.04 or 24.04 LTS on x86-64, or on Red Hat Enterprise Linux 8 or 9. Plan for at least 3 GB RAM and 3 GB of free disk, with 4 GB for monitoring add-ons. The server needs PostgreSQL, either local or managed, such as AWS RDS or Azure Database for PostgreSQL. Ask the other operator which platform and database their Security Server runs on, so both sides can test the same versions.

Installation guide

Network ports and firewall agreements

The Security Server accepts TCP 5500 and 5577 from external networks, for message exchange and OCSP. TCP 4000 for the admin UI and 8080 or 8443 for information system access stay on internal networks. For a cross-border link, the other operator must allow your 5500 and 5577 traffic from their side, and you must allow theirs, so write both directions into the firewall agreement before go-live. Agree also which internal systems may reach 8080 or 8443, since those ports carry traffic from your information systems into X-Road.

Trust services and signing keys

Each Security Server holds authentication and signing certificates and checks certificate status through OCSP. Both sides must trust the same certification authorities and OCSP responders before any service call crosses the border, so confirm them in the global configuration. If keys sit in hardware security modules, the xroad-addon-hwtokens package connects PKCS#11 drivers to the server and supports RSA and EC keys. Confirm that your HSM model and key type work with the release line you run, and test a key rollover in staging before live traffic depends on it.

Admin access for each side

The Security Server defines five roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Admin users authenticate through PAM, and SSSD can connect that to LDAP and map LDAP groups to X-Road roles. For a cross-border link, this decides who on each side can approve members, register services or change keys. Map each LDAP group to one role deliberately, and check that observer accounts cannot change configuration.

Hardening baseline for the link

The X-Road security hardening guide sets a baseline that you should be able to show the other operator during their security review. It recommends locking accounts for 15 minutes after 3 failed logins, using passwords of at least 16 characters, and allowing key-only SSH. The allowed-hostnames setting guards against host header injection, so list only the names your Security Server should answer to. From version 7.4, publish global configuration over HTTPS. Check each item against the guide version your team follows, and keep the results as evidence.

Hardening guide

Release line both sides run

The current X-Road release is 7.8.3, and the supported lines are 7.8.3, 7.7.4 and 7.6.5. Both operators should run a supported line on their Security Servers and agree which line each will move to next and when. X-Road 7.8.0 is the last new-feature release of the 7 series, and NIIS intends to keep maintaining X-Road 7 with bug fixes and security patches beyond 2026, though the length of that period has not been decided. Ask the other operator which line they run and when they plan to move to the next one.

Who owns which part of a cross-border federation

Each operator runs the Central Server for its own ecosystem and signs the federation agreement with the other operator before any configuration is exchanged. That agreement fixes the trust services accepted on each side, the member classes in scope and the onboarding and suspension rules. The operator runs its Central Server, its global configuration and its trust service relationships. It receives the other operator's signed configuration, the details of its accepted trust services and named technical contacts.

  • Federation agreement: Signs the agreement covering trust anchors, member classes, onboarding and exit procedures before configuration is shared.
  • Central Server operation: Installs and runs the Central Server, controls its database and backups, and decides when its ecosystem moves to a new supported release.
  • Global configuration distribution: Publishes its global configuration, verifies the other operator's configuration before applying it, and agrees on a change window for updates.
  • Trust services: Confirms which certification authorities, OCSP responders and timestamping services each side accepts, so member certificates from either ecosystem validate.
  • Member onboarding: Approves which foreign organizations are admitted, under which member class, and records each admission in the agreed register.

Decisions that need the other operator's approval first include accepting a trust service, admitting foreign members under a member class and changing the release line used by both ecosystems. Confirm version compatibility and certificate acceptance with the other operator in writing before signing, because a mismatch on either side blocks members on both.

How a cross-border X-Road rollout moves from agreement to live traffic

A cross-border X-Road rollout starts with the data and the legal terms, then proves the technical path in a pilot before any production traffic flows. Each step closes with a record that both operators and the data protection owners can review. No durations are given here, so ask both operators for their own schedules.

  1. Inventory data flows and mark sensitive messages

    Both teams list every service that will cross the border, including the provider and consumer members, the data elements, the direction of each exchange and how often it runs. Each message is then marked if it carries personal data or falls under a transfer rule, such as the GDPR Chapter V conditions for transfers to third countries. Remote support sessions from a third country that display personal data on screen count as transfers too, so include them. The step closes with a flow register signed off by the data protection owner and the service owners on both sides.

  2. Confirm operators, member classes and release lines

    Each side confirms who operates its X-Road ecosystem, which member classes will exchange data, and which trust services it depends on, including approved certification authorities, OCSP and timestamping. Both sides then record the exact release of every Security Server and Central Server. The current release is 7.8.3, and 7.7.4 and 7.6.5 are also supported. X-Road 8.0.0 is in Beta 2 with its production release scheduled for December 2026, so confirm with both operators which release line goes live and when each side plans to move. The step closes with a shared compatibility record that both operators have signed.

  3. Sign operator and member agreements

    Legal teams on both sides agree the terms that the technical design depends on. The agreements cover the purpose of each flow, what the message log records and how long it is kept, how each side handles requests from foreign authorities, incident notification, and how versions and scope changes are approved. Map every flow in the register to a clause so that an auditor can trace a message back to the rule that allows it. The step closes when both parties hold signed copies and the mapping is filed with the flow register.

  4. Run a pilot on a test global configuration

    Connect a limited set of members to a test global configuration before anything sensitive moves. Check that certificates chain to the approved certification authorities, that OCSP responses are reachable from the other side on TCP 5577, and that message exchange on TCP 5500 completes in both directions. Load the signing and authentication keys into the hardware security module through the PKCS#11 driver with the xroad-addon-hwtokens package, then test failure cases such as an expired certificate or an unreachable OCSP responder. The step closes when those tests pass and the message log shows records for each test flow.

  5. Move to production with monitoring and backups

    Switch the Security Servers to the production global configuration and apply the hardening baseline before the first live message. The baseline covers account lockout after repeated failed logins, minimum password length, key-only SSH, and the allowed-hostnames setting that guards against host header injection. Set up operational monitoring and backups for each Security Server and its PostgreSQL database, then run a restore test. The step closes when the restore test succeeds, a test alert reaches the on-call team, and the security owner on each side signs the hardening checklist.

  6. Retest after upgrades and revisit agreements

    Repeat the relevant tests after every upgrade on either side, including a move between 7.x releases or a move to 8.x once that release is in production. NIIS intends to keep maintaining X-Road 7 with fixes and security patches beyond 2026, but it has not decided how long that period will last, so schedule an agreement review when that decision is published. Revisit the agreements whenever scope, data types, parties or foreign request handling change. The step closes with a dated test record for each change and an amendment signed by both parties.

Version and certificate compatibility when two ecosystems run different releases

Confirm the release line on each side before the pilot. The current X-Road release is 7.8.3, and the supported versions are 7.8.3, 7.7.4 and 7.6.5, as listed on the X-Road releases page. Each operator should state which release its Central Server and Security Servers run, and whether that line will still be supported for the length of the pilot. 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 maintain X-Road 7 with bug fixes and security patches beyond 2026, but it has not decided how long that period will last. Ask each partner operator for its upgrade window in writing, and record the answer in the federation agreement, so that neither side plans against an end date the other has not confirmed.

X-Road 8 belongs in the upgrade plan. X-Road 8 "Spaceship" is available for testing as 8.0.0 Beta 2, and its production release is scheduled for December 2026. A beta build suits evaluation in a separate environment, so it should not carry the first cross-border exchanges. Plan the pilot on the 7.x line, then record in the agreement which release each side expects to move to, when each side will test 8.0.0, and who approves the change. Ask each operator whether its roadmap includes a move from 7.x to 8, and whether that move will be scheduled with the other ecosystem, since a change on one side can affect the exchange with the other.

Each side's trust services must be accepted by the other. Before the pilot, confirm which certification authorities issue the authentication and signing certificates on each side, and check that both Central Servers and Security Servers accept those authorities. Confirm the OCSP arrangements, since certificate status checks must work across the boundary. Record whether hardware security modules are used, which X-Road supports through PKCS#11 drivers with the xroad-addon-hwtokens package, and the key types on each side, RSA or EC. Finally, list the renewal date for every certificate in the chain and agree who is told before each renewal. A certificate that expires on one side can interrupt exchange for both, so this list belongs in the federation agreement and on a calendar both teams can see.

Personal data transfer controls to map before go-live

Six controls decide whether personal and non-personal data can cross a border through an X-Road federation. Each card names a decision to make before go-live and a question to put to counsel, starting with how transfers are mapped and ending with the evidence your assessor will request.

Map every transfer, including support access

Under GDPR Article 44, every transfer of personal data to a third country, including onward transfers, must meet Chapter V conditions. EDPB Guidelines 05/2021 treat remote access from a third country as a transfer, even when staff only view data on a screen for support, and they treat storage in a cloud outside the EEA the same way. Map each exchanged data category, each operator, each vendor with remote administration, and each location for logs and backups. Buyer decision: which flows are allowed before go-live. Question for counsel: whether support sessions from abroad need their own transfer tool.

EDPB Guidelines 05/2021

Choose the transfer tool per importer

The Data Privacy Framework provides adequacy only for US organizations on the Data Privacy Framework List under Commission Implementing Decision (EU) 2023/1795. An appeal against the General Court's September 2025 judgment upholding it is pending as Case C-703/25 P, so the position could change. Where an importer is not listed, standard contractual clauses under Commission Implementing Decision (EU) 2021/914 are the usual route, and the Court of Justice held in Schrems II that they remained valid. Buyer decision: which tool each foreign party relies on, and what fallback applies if the appeal changes the position. Question for counsel: whether the clauses and transfer assessments cover every importer in the chain.

Decision 2021/914

Plan for foreign authority requests

A provider within reach of the US CLOUD Act may have to preserve or disclose data under 18 U.S.C. 2713, whether the data sits inside or outside the United States. GDPR Article 48 recognizes a third-country court order only when it rests on an international agreement, such as a mutual legal assistance treaty. EDPB Recommendations 01/2020 state that where a provider needs data in the clear and foreign powers exceed what is necessary and proportionate, the EDPB cannot envision an effective technical supplementary measure. Buyer decision: whether you accept disclosure exposure for each provider with foreign-law reach. Question for counsel: how that exposure is documented and reviewed.

EDPB Recommendations 01/2020

Confirm NIS2 scope for each member

NIS2 covers central government entities regardless of size and lists public administration among sectors of high criticality. Member States may extend the scope to local public administration. The directive does not apply to entities working in national security, public security, defense or law enforcement. Because each member applies its own national implementing law, two members in the same exchange can fall under different obligations. Buyer decision: which members carry NIS2 duties and which exclusions apply to them. Question for counsel: how each member's implementing law classifies its entities.

NIS2 Directive text

Check Data Act Article 32 along the chain

Article 32 of Regulation (EU) 2023/2854 requires providers of data processing services to take technical, organizational and legal measures against third-country governmental access to non-personal data held in the Union, where that access would conflict with Union or national law. The duty can reach any provider in the chain that counts as a data processing service, such as managed hosting, managed databases or backup, so check each one instead of assuming the platform vendor covers them. Buyer decision: which chain providers are in scope and what measures each one documents. Question for counsel: whether each provider meets the definition.

Data Act text

Prepare evidence for the assessor

DeployOpen prepares configurations, logs and records that an assessor can review, including Security Server settings, role assignments and change history. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that work. Agree early on the evidence format, the sampling period and where records are stored, since storage abroad is itself a transfer. Buyer decision: who owns the evidence set and where it is kept. Question for counsel: which records contain personal data before they are shared with the assessor.

What buyers ask about cross-border X-Road federation projects

How much does a cross-border X-Road federation project cost?

Cost depends on scope, the number of member systems on each side, and the work around the technical build. DeployOpen publishes no price list, and a quote follows the written scope. The main cost components are:

  • Engineering for Central Servers, Security Servers, PostgreSQL and certificates on each side, scaled to the member systems that connect.
  • Agreement drafting and legal review between operators and members, which counsel bills directly.
  • Infrastructure you run, including servers, databases and any hardware security modules.
  • Upgrades and testing, which can be a one-time project or a retainer for ongoing work.

Ask which items are one-time and which recur, and what changes the quote if the number of member systems grows.

How long does a cross-border X-Road federation project take?

Duration is set mainly by agreement cycles, release alignment and operator approvals, so no timeline should be assumed before those are known. Drafting the agreements between operators and members, completing legal review on each side, and getting each operator to approve firewall and certificate changes often take longer than the technical build. Release alignment matters because both sides need compatible X-Road versions and certificate setup before joint testing can start. Ask for a timeline in the written scope, with milestones that name the approval each one depends on and the person who owns that approval. Also ask which steps sit on the critical path and how the plan changes if one operator's approval slips.

What must each side provide before a cross-border X-Road project starts?

Each side needs a named owner with authority to make decisions for its organization and its operator, plus a data flow inventory. The inventory should list each service, the data it carries, the sender, the receiver and the classification of that data. Schedule change windows for the network and database work as well:

  • Firewall rules. The Security Server accepts TCP 5500 for message exchange and 5577 for OCSP from external networks, and uses TCP 4000 for the admin UI and 8080 or 8443 for information system access from internal networks.
  • PostgreSQL, whether local or remote, including managed services such as AWS RDS or Azure Database for PostgreSQL.
  • Hardware security modules, if used. X-Road connects to them through PKCS#11 drivers with the xroad-addon-hwtokens package, which supports RSA and EC keys.

Confirm these windows early, because operator approvals often set the pace of the project.

Can our own team run an X-Road federation without an outside partner?

Yes, a team can run this work alone if it already has the skills the project needs. The work draws on four capabilities:

  • Linux administration for Security Servers on Ubuntu Server 22.04 or 24.04 LTS, or Red Hat Enterprise Linux 8 or 9, with at least 3 GB RAM (4 GB with monitoring add-ons) and 3 GB free disk.
  • PostgreSQL administration for the Security Server database.
  • PKI skills for certificates, certification authority choice, OCSP and any hardware security modules.
  • Legal capacity to draft and review agreements between operators and members.

If one of these is missing, a partner can take on that part under a fixed-scope agreement. Check each capability against the people who will carry the project, not only against the people who will run the servers afterward.

Which X-Road release should a new cross-border federation start on?

Start on 7.8.3, the current release, unless both operators have agreed on a different supported line. The supported versions are 7.8.3, 7.7.4 and 7.6.5. Version 7.8.0 is the last new-feature release of X-Road 7, and NIIS intends to keep maintaining X-Road 7 with bug fixes and security patches beyond 2026, although the length of that period has not been decided. X-Road 8.0.0 is available as Beta 2 for testing only, so it is not a production choice today. The releases page lists the production release as scheduled for December 2026, so confirm that date and the upgrade plan with each operator before committing. Both sides must run compatible versions, so ask each operator which release it will run.

Who signs off on compliance evidence for cross-border X-Road exchange?

Your compliance team and your independent assessor sign off on compliance. DeployOpen prepares the evidence they ask for, such as configuration records, hardening settings, access and logging controls, and documented procedures. DeployOpen does not issue audit reports, attestations or certifications, and independent auditors or certification bodies perform those assessments. Ask early which framework applies, which controls each side must evidence, and who on each side approves the evidence. Cross-border exchange can also raise data protection questions about transfers, so have counsel confirm the legal basis for the exchange before go-live. Confirm the evidence format your assessor accepts before the build starts, so the team collects the right records during the work.

How DeployOpen scopes and delivers an X-Road federation build

DeployOpen plans, implements, integrates, hardens, documents and supports X-Road federation inside your own infrastructure, with scope, deliverables and timelines agreed in writing before work starts. For cross-border exchange, the work starts with the operators on each side agreeing on release lines, certificates and the rules for exchanged data. Most engagements are fixed-scope.

How we scope

  • Written scope names both sides of the federation, the operator of each ecosystem and the member organizations in scope.
  • We confirm the X-Road release line on each side, such as 7.8.3, 7.7.4 or 7.6.5, before any build starts.
  • Agreements between operators and members, certificate trust chains and exchanged data types are written deliverables.

How we build

  • Components in scope, such as Security Server and Central Server, run on your infrastructure with local or remote PostgreSQL.
  • Certificate work covers authentication and signing keys, with PKCS#11 hardware security modules where your policy requires them.
  • Test runs cover message exchange between the two ecosystems, OCSP reachability and firewall rules for the ports in use.

How we hand over

  • Handover documents the configuration of each side, including release versions, member classes, certificates and key storage.
  • Runbooks cover the message log settings, backup and restore steps and the upgrade path to supported 7.x releases.
  • Documentation of the agreed federation rules and change contacts is handed over with the environment.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Plan release lines with the peer operator, since NIIS has not set how long X-Road 7 maintenance will last.
  • Security testing of the federation link and the member systems can be scheduled as a follow-up engagement.

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.