When X-Road federation connects two ecosystems
Federation links two X-Road instances at the Central Server level, so members of one ecosystem can reach services published in the other. It is an operator decision, and it needs written agreements from both operators before either side changes its configuration. The supplied facts do not give the federation procedure, so confirm the steps, the configuration each Central Server needs and the order of operations in the official X-Road documentation before you plan the work. Start by listing the instance identifiers, member classes and certificate profiles each side uses, since both operators will need to compare these inputs first.
Before the agreement is signed, the two teams should compare the software they run. The current release is 7.8.3, and the supported versions are 7.8.3, 7.7.4 and 7.6.5, so check the X-Road releases page to confirm which versions each side runs and whether the planned link is supported between them. Also confirm whether member Security Servers must opt in to the other instance, and which certificate profile and trust services each side expects. A mismatch found on paper during design is far easier to resolve than one found after both Central Servers have been changed.
Plan around the boundary as well. Federation is not transitive, so a link between instance A and instance B does not extend to instance C, even when B already federates with C. If members of A need services in C, the operators of A and C have to agree a link of their own and complete the same agreement, configuration and testing work. Record each pair of ecosystems as a separate decision with named owners, the agreed scope and a review date, so that a later onboarding request does not quietly assume reach that was never granted. Check this during design, because it determines which partners a new federation can actually serve.
How two Central Servers link while members keep their own Security Servers
The diagram starts with two separate X-Road instances, A and B, each with its own Central Server and member Security Servers. The agreed link joins the two Central Servers, which is where the two operators set up their shared trust. Member Security Servers keep their own registrations and exchange messages over the external ports, TCP 5500 for message exchange and TCP 5577 for OCSP. The box around each instance marks the trust boundary, where one operator's authority ends. Instance C is illustrative and linked only to B, so traffic from A has no path to C through B. Before testing, confirm that each member's Security Server is opted in on both sides.
Central Server links join instances, and A has no path to C.
Federation choices for each operator and when each fits
This table compares the four federation choices that each operator must agree on before two X-Road ecosystems exchange data, plus the rule that federation does not pass through a third instance. Read each row for what the choice changes, who makes the decision, and what to confirm with the other side. The main takeaway is that the Central Server and certificate decisions are shared agreements, while the Configuration Proxy and Security Server opt-in are local choices that still affect the other operator.
| Option | What it changes and who decides | When it fits | What to confirm with the other operator |
|---|---|---|---|
| Central Server federation | Links the two global configurations so each side can see the other's members and services. Both operators decide, through a written agreement. | Two ecosystems that must exchange data across the operator boundary and trust each other's configuration. | Which instance identifiers are in scope, how configuration changes reach the other side, and who approves them. |
| Security Server opt-in | Lets selected member Security Servers take part in the other instance's exchange. The member organization and its own operator decide. | Only the members that need cross-instance exchange, once both operators have agreed the scope. | Which members are included, the registration steps on each side, and how access to services is granted. |
| Configuration Proxy | Redistributes or adapts global configuration from one or more sources for a federated or segmented network. The operator running the proxy decides. | Federated or segmented networks where one side receives configuration from several sources, or where sources need adjusting first. | Which sources feed the proxy, what it changes before distribution, its platform requirements and ports, and who operates it. |
| Aligned certificate profiles | Sets shared rules for certificates: approved certification authorities, key types, and OCSP or timestamping services. Both operators agree the rules. | Before any exchange starts, because certificates issued on one side must be accepted on the other. | Approved certification authorities, RSA or EC key types, OCSP and timestamping endpoints, and whether hardware security modules hold the keys on either side. |
| No transitive federation | Trust between the two instances does not extend to a third instance that federates only with one of them. Both operators confirm this in their agreement. | Any third ecosystem that wants to reach members of either instance through the existing link. | Whether the third ecosystem needs its own direct agreement with each operator before exchange begins. |
Version and certificate checks before two ecosystems connect
Before two ecosystems connect, both operators should confirm which X-Road 7 line each side runs. The supported lines are 7.8.3, 7.7.4 and 7.6.5, and 7.8.3 is the current release. Version 7.8.0, released at the beginning of February 2026, is the last new-feature release of the 7 line, so a side that stays on 7.6.5 or 7.7.4 will not receive new features from that line. NIIS intends to keep maintaining X-Road 7 with bug fixes and security patches beyond 2026, but the length of that period has not been decided. Ask the other operator for its target line and its patch expectations in writing. X-Road 8.0.0 Beta 2 is available for testing, with the production release scheduled for December 2026. Treat it as a test track only, and do not connect production members on an assumption that 8.x and 7.x nodes interoperate.
Version alignment does not settle trust on its own, so the certificate and key setup needs a separate check. Both operators should list the certification authorities each side trusts, the authentication and signing certificate profiles in use, and any certificate issued under a profile the other side has not reviewed. Confirm the key type and storage on each Security Server. Where keys sit on a hardware security module, X-Road reaches it through PKCS#11 drivers installed with the xroad-addon-hwtokens package, and supports both RSA and EC keys. Ask each operator to confirm which key type it uses, the driver and its version, and that a test signature and token login succeed on the exact versions being connected.
Record the outcome in a compatibility note that both operators sign before any member is connected. Include the X-Road version and Security Server package on each side, the instance identifiers, the certificate authorities and profiles, the key type, the HSM driver and its version, and the date of the test. Repeat the check whenever either side moves to another 7.x line or to a newer 8.0 beta build, because either change can alter the answer. Where the other operator cannot give a written answer on a point, treat that point as open and keep the connection out of production until it closes.
How to set up federation step by step with checks
Federation between two X-Road ecosystems is set up in a fixed order, and each step closes with a named check before the next one starts. The sequence moves from written agreements to a confirmed Central Server link, Security Server opt-in, global configuration distribution and one test service call between the two sides.
Agree scope and roles in writing
Both operators sign off on what is being federated, which services and member classes are in scope, who owns the Central Server change on each side, who approves Security Server registrations, and who answers incidents during the change window. Each operator's security and compliance lead should review the document before work starts. The step is done when both parties hold the same signed copy and the named contacts are confirmed by phone or email. Agreements also need to state that federation links the two instances directly and that neither side will route another ecosystem's members through it, since federation is not transitive.
Confirm versions, certificates and platforms
Each side records its X-Road release and confirms it is on a supported version: 7.8.3, 7.7.4 or 7.6.5. Agree the certificate profiles and the authentication and signing certificate types each side will use, and record whether either side uses PKCS#11 hardware security modules. Check each Security Server host against the platform list, Ubuntu Server 22.04 or 24.04 LTS or RHEL 8 or 9, with at least 3 GB RAM and 3 GB free disk. The step is done when a shared sheet lists version, platform and certificate profile for both sides and both operators have initialed it.
Establish the Central Server link
The operators connect their Central Servers by following the official federation procedure in the X-Road documentation, starting from Central Servers already running a supported release. Each operator enters the other instance's identifier and the trust settings the procedure requires, using the values written on the step two sheet. Keep the change inside the change window agreed in step one, with both operators on the call. The step is done when each Central Server lists the other instance and both operators confirm in writing that the entries match the sheet. Keep the change record, since it is the baseline for later troubleshooting.
Configure Security Server opt-in
Each operator enables opt-in on the Security Servers that will exchange messages across the link, following the procedure in the X-Road documentation. Before that, confirm the host meets the Security Server requirements: PostgreSQL, local or remote, including managed services such as AWS RDS or Azure Database for PostgreSQL. Allow TCP 5500 for message exchange and TCP 5577 for OCSP from external networks, and allow TCP 4000 for the admin UI and TCP 8080 or 8443 for information system access from internal networks only. The step is done when each opted-in Security Server shows the other instance's members and the approving operator has processed its registration request.
Verify global configuration distribution
Confirm that each side's global configuration, including the entries for the other instance, is published and has been downloaded by every Security Server in scope. Check that distribution runs over HTTPS, which X-Road supports from release 7.4 onward, and that the certificate on the distribution point is the trusted one agreed in step two. On each Security Server, open the configuration status in the admin UI and compare the instance identifier and member entries with the sheet. The step is done when each Security Server shows the same configuration as its Central Server and the other operator confirms it sees the same entries.
Test one service call end to end
Pick one service that both operators have agreed to expose, and make sure an access right exists for one consumer in the other ecosystem. Send a single request from the consumer's information system through its Security Server, and confirm the provider's Security Server receives it, passes the access right check, and returns the provider's response. Compare the message log entries on both sides for the same message identifier. The step is done when the response arrives, both logs record the same exchange, and both operators sign the test record. Keep the test case so it can be rerun after upgrades or configuration changes.
Security controls to keep across a shared trust boundary
Each control below protects the boundary where your Security Servers accept traffic and admin access from another operator's ecosystem. Read them as a set: the role split decides who can change what, and the hardening settings decide how hard those roles are to reach in the first place.
Roles, PAM and LDAP group mapping
The Security Server splits admin work across five roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Admin users authenticate through PAM, and SSSD can map LDAP groups to these X-Road roles, so group membership in your directory sets X-Road permissions. Both operators must agree in writing who holds each role, because one person holding several roles on either side weakens the separation the federation relies on. Confirm the role map with the other operator before go-live.
Security Server user guideLockout and password length
The hardening guide recommends locking an account for 15 minutes after 3 failed logins and requiring passwords of at least 16 characters. Apply these settings to every Security Server you administer, including those the other operator manages. Test them against PAM and any LDAP-backed accounts, since a policy that only covers local logins leaves directory accounts exposed. Confirm the lockout behavior with a deliberate failed login in a test environment before relying on it.
Hardening guidelinesKey-only SSH and allowed-hostnames
Use key-only SSH on Security Servers so that password logins are refused and every administrator logs in with a managed key. Keep administrative access limited to named operator hosts. The allowed-hostnames setting guards against host header injection, so list only the host names your admin and consuming systems actually use. Federation adds a second operator whose staff may need access, so agree on who issues and revokes their keys and how quickly a revocation takes effect.
Global configuration over HTTPS
From version 7.4, the hardening guide recommends publishing global configuration over HTTPS instead of relying on unencrypted distribution. Both ecosystems depend on this configuration to decide which members and services are trusted, so a tampered download could affect both sides. Confirm that each Security Server verifies the certificate on the HTTPS endpoint it fetches from, and agree with the other operator which URL and certificate chain each side publishes and trusts.
Hardware security modules through PKCS#11
X-Road supports hardware security modules through PKCS#11 drivers, installed with the xroad-addon-hwtokens package, for both RSA and EC keys. Where the module keeps keys non-exportable, a person or process that gains server access cannot copy the signing keys off the host. Confirm with your HSM vendor that its PKCS#11 driver works with the X-Road version you run. Agree with the other operator who controls HSM access, how keys are backed up and who approves a key change.
Security Server installation guideLimit external exposure to two ports
Expose only TCP 5500 for message exchange and TCP 5577 for OCSP to external networks. Keep TCP 4000 for the admin UI and TCP 8080 or 8443 for information system access on internal networks only. In a federation, the other ecosystem's members reach your Security Server through the external ports, so review firewall rules at both edges. Test from outside your network that port 4000 is closed, and record the rules in the operator agreement.
Agreements operators need in writing before federating
Two operators should agree in writing what crosses the federation link before either side changes its Central Server configuration. Start with the scope of federated services: list the service identifiers each side will expose to the other, and state which member and subsystem codes will be visible across the link. Visibility deserves a separate line item because a member can appear in the other ecosystem's configuration without its own administrators having reviewed that exposure. Record who approves Security Server opt-in on each side, since a member should join the link only after the operator that owns it has accepted the request. Before signing, have each Central Server administrator confirm which objects will appear in the exported global configuration, so the written scope matches what the software will actually publish.
The agreement should also set how changes are announced and coordinated. Configuration signing key changes, anchor re-imports and similar events affect every member Security Server on the other side, so write down the notice each operator will give before a planned change and who may approve an urgent one. Version upgrade timing belongs here too. Confirm which supported release each side runs, such as the current 7.8.3 or an older supported line, and agree on a window in which each side will move to the next release. The upgrade procedure itself is covered elsewhere, but the agreement should name the coordinating person and the date by which both sides expect to be compatible. The length of each notice period and the size of any window are decisions for the two parties, so ask for them to be stated in the document rather than assumed.
Finally, name the people who hold the operator role on each side and the incident contacts who receive reports, along with who may suspend the link and who must be informed when it is suspended. Each operator should be able to name a reachable contact for security incidents and a backup for when that person is unavailable. Treat these terms as a decision for the parties, not a template to copy, and have legal counsel review the document in each country involved. Counsel should check liability, the roles each operator takes under local data protection law, termination and how exchanged evidence is retained after the link ends. Their review should happen before the configuration exchange starts, not after the first incident.
Limits to confirm before you commit to federation
These five limits shape whether a federation link can last. Each one depends on the other operator's network design, on NIIS release decisions or on support rules that may change. Confirm each item in writing before you sign, and record the answer with the agreement's date.
No transitive federation
A link between A and B does not extend to C. If your members need to reach members of C through the other ecosystem, that path does not exist by default and must be built as a separate agreement with C's operator. Ask the other operator to confirm in writing which member classes and services are visible across the link, and that they will not relay requests from third parties. Map every member you expect to exchange with before the first configuration is shared.
X-Road 7 maintenance after 2026
NIIS intends to maintain X-Road 7 with bug fixes and security patches beyond 2026, but has not decided how long that period will run. X-Road 7.8.0 is the last new-feature release of the 7.x line, so both sides will depend on fixes without new features. Ask the other operator and NIIS for the planned end date in writing, and agree who applies patches to the Central Server and Security Servers on each side. Plan a dated upgrade path for any side that will reach the end of support first.
NIIS 7.8.0 postX-Road 8 production timing
X-Road 8 "Spaceship" is available as 8.0.0 Beta 2, and its production release is scheduled for December 2026. A beta carries no production commitment, so any federation that depends on 8.x should set its go-live after the stable release is published. Ask NIIS whether the December 2026 date still holds and what is expected to change between Beta 2 and the final release. Confirm with the other operator which line each side will run, and whether either side will test 8.0.0 Beta 2 in a separate environment first.
X-Road releasesRemote PostgreSQL for Security Servers
Security Servers need PostgreSQL, which can run locally or on a remote host, including managed services such as AWS RDS and Azure Database for PostgreSQL. A remote database adds a network path that the exchange depends on, so its availability becomes part of your federation design. Ask the other operator which database option they run and whether that managed service is supported for their Security Server version. Confirm what happens to message exchange if the database becomes unreachable, and who owns the restore process on each side.
Installation guideMixed 7.x and 8.x behavior
Operators may run different major lines during the transition, so one side could stay on 7.x while the other tests 8.x. Whether a 7.x Security Server can exchange messages with an 8.x peer is a question to answer in writing before go-live. Ask NIIS and the other operator for their compatibility rules, including which protocol and certificate profile versions carry across and how global configuration from one line is read by the other. Test a full message round trip in staging before any production link mixes versions.
What teams ask before federating two X-Road ecosystems
How much does it cost to federate two X-Road ecosystems?
The cost follows from the written scope, and DeployOpen does not publish a price list. The main drivers are the number of members on each side, how many agreements between operators must be drafted and signed, whether both ecosystems run the same X-Road version and certificate profiles, and how much certificate work is needed to align trust settings and signing material. Ask for a quote that breaks the work into parts: Central Server configuration, Security Server changes for each member, agreement preparation, certificate tasks, testing and handover. Ask which parts are one-time project work and which recur, such as support or upgrades under a retainer. Also ask whether either operator's internal staff time is included, and how the quote changes if the member count grows after signing.
How long does it take to federate two X-Road ecosystems?
The timeline depends mainly on the agreements between the two operators and on each side's change windows. Agreements covering scope, membership rules, data sharing and who approves changes can set the pace more than the technical steps, so they should start first. Each operator schedules changes to its Central Server and Security Servers within its own maintenance windows, so a step can wait for the next window on either side. Ask for a schedule that lists the agreement milestones, the change windows each side needs, the test period before production, and any dependency on a member that has not yet upgraded. Confirm that both operators have a named approver who can sign off within that schedule.
What does our team need to provide for an X-Road federation project?
Your team needs to name operators, provide infrastructure access and secure approvals. Name at least one technical operator for the Central Server, the Security Servers and global configuration, and one approver who can sign the agreements and accept changes. Provide access to the hosts, cloud accounts or data center networks where X-Road runs, including database and hardware security module details where the components use them. Expect to approve the change plan, the agreements, the test plan and the cutover on both sides. Supply the current version and configuration inventory of each side, plus contacts for members whose Security Servers will change. Confirm who holds administrator credentials and how they are granted for the project period.
Can our own team federate two X-Road ecosystems without a partner?
Yes, if your team already has X-Road operator skills, it can federate two ecosystems internally. The work needs experience with Central Server configuration, Security Server administration, certificates and signing keys, global configuration distribution, and the upgrade and rollback steps for the versions in use on both sides. Confirm this competence before deciding. Check whether at least two people have carried out a change of this kind, whether they have a tested rollback plan, and whether they can staff the cutover window. If any gap exists, a partner can cover it under a fixed scope. General Linux administration skills do not replace hands-on X-Road experience.
Can an X-Road federation between two ecosystems be reversed?
Confirm reversibility in the X-Road documentation for your exact versions before you commit. Whether a federation can be undone depends on the version of each side, how global configuration and anchors were changed, and whether member Security Servers already exchanged messages under the new trust relationship. Ask the operators to document the steps to remove the federation, the order of changes on each side, and the state of configuration and certificates after a rollback. Test that rollback in a non-production environment that matches both sides as closely as possible. Record which backups must exist before cutover, and agree in writing which party can authorize a reversal.
Does DeployOpen issue audit reports or certifications for an X-Road federation?
No. DeployOpen prepares the systems, controls and evidence for a federation, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. DeployOpen can document the configuration, record change approvals and test results, and set up the logs and procedures an auditor will ask to see. Ask for the evidence list in the written scope, including which records each operator keeps and which ones the auditor will need. If your framework requires a specific assessment, confirm its scope with your auditor before the project starts so the evidence matches what they will test.
How DeployOpen scopes an X-Road federation engagement
DeployOpen scopes each federation engagement as a fixed-scope project, with deliverables and timelines agreed in writing before work starts. The written scope covers both ecosystems' Central Servers, member opt-in, version and certificate profile compatibility, and the agreements each operator needs to sign. Ongoing support after go-live is available as a retainer.
How we scope
- Confirm the instance identifiers, member classes and certificate profiles each side uses before any configuration changes.
- Map which members opt in to federation and which services are exposed across the two ecosystems.
- State in the written scope that trust does not pass transitively to any third ecosystem.
How we build
- Align Central Server versions and global configuration handling on both sides before connecting the two instances.
- Configure the federation link and Security Server opt-in, then test message exchange for each agreed member pair.
- Check certificate chains and trust service settings against both operators' profiles before go-live.
How we hand over
- A runbook covering federation settings, certificate expiry dates and the change steps each operator follows.
- Documented operator agreements, contact paths and the sequence for adding or removing members in either ecosystem.
- Test results and a rollback procedure for reverting federation changes if exchange breaks after a change.
How we support
- Retainer support for monitoring, upgrades and patching across both ecosystems after go-live, where agreed in writing.
- Ask whether the retainer covers changes triggered by the other operator's upgrade or certificate renewal.
- Confirm with the other operator who owns each support path before the engagement starts.

