Installing an X-Road Central Server

A planning and setup guide for operators standing up the Central Server for a new X-Road instance, covering platform, database, ports, instance identifier and the management Security Server that must follow.

On this page

Installing an X-Road Central Server: when a new instance needs one

An operator founding a new X-Road ecosystem or a new segment of one needs a Central Server before any member can exchange data. The Central Server holds the shared global configuration, the signed set of data that describes which members, subsystems and security servers belong to the instance and which trust anchors they accept. Every member Security Server trusts that configuration, so the Central Server is the point where the ecosystem's trust starts. Standing one up is therefore an operator decision made by the body that owns the instance, not a step a member organization takes when it joins. X-Road is open-source software published under the MIT license and developed by the Nordic Institute for Interoperability Solutions (NIIS), and its main components are the Central Server, the Security Server and the Configuration Proxy. Those components are supported on Ubuntu, RHEL and Docker, according to the project repository.

Before installing anything, the operator should confirm which release to deploy. The current release is 7.8.3, with 7.8.3, 7.7.4 and 7.6.5 listed as supported versions. The 7.8.0 release, published at the beginning of February 2026, is the last new-feature release of X-Road 7, and NIIS intends to keep maintaining the 7 line with bug fixes and security patches beyond 2026, although the length of that period has not been decided. X-Road 8 "Spaceship" is available for testing as 8.0.0 Beta 2, with a production release scheduled for December 2026. A beta is not a basis for a production trust anchor, so the operator should confirm with NIIS and the release notes which line fits their ecosystem's timeline, and which upgrade path they will need later. Check the X-Road releases page and the project repository on the day of the decision.

Which deployment choices fit which environment

A single-server lab is useful for learning the installation sequence, testing the initial configuration and rehearsing the handover to the team that will run the management Security Server. It should stay isolated from member traffic and be treated as disposable, because its configuration and data are unlikely to meet production controls.

  • Database placement: Running the database on the same host keeps the lab simple. Confirm in the installation documentation which PostgreSQL version and packages the chosen release expects, even for a lab.
  • Backups: A virtual machine snapshot before each configuration change is enough to recover a lab. It is not a substitute for a tested database backup in production.
  • Network placement: Keep the instance on a private network with no route to production members or to the internet unless a test specifically requires it.
  • Identifiers: Use a clearly marked test instance identifier so that test configuration cannot be mistaken for production configuration later.
  • Operating system: Match the platform family you plan to use in production, Ubuntu or Red Hat Enterprise Linux, so commands, paths and service behavior carry over.

Before reusing any lab configuration, ask the operator whether it can carry over. Plan a clean production build by default, and confirm the platform support for the release with the official release notes.

Configuration options and when each fits

This table compares platform, database, key storage and dependency choices for a new Central Server. Read the fit column to see when each option makes sense, the trade-off column for what your team takes on, and the confirm column for what to check in the release documentation before you commit. The main takeaway is that database and key storage choices are hard to reverse once keys and data exist, so settle them before installation.

OptionFits whenTrade-offConfirm before you choose
Ubuntu ServerYour team already patches Ubuntu LTS hosts and wants the same tooling for the Central Server.Ubuntu host lifecycle work sits alongside your other servers.Which Ubuntu releases the Central Server package supports for your X-Road release.
Red Hat Enterprise LinuxYour estate runs RHEL with subscriptions and hardening baselines already in place.Repository access and subscription status must be working before installation starts.Supported RHEL major versions for the Central Server in the installation documentation.
Docker containersYou run container platforms and want reproducible rebuilds of the component.Persistent data, database connectivity and upgrades need container-specific runbooks.Whether NIIS supports the Central Server container image for production and which image tags it publishes.
Local PostgreSQL on the Central Server hostA single-site instance where the host can own its database and your team accepts that load.Database backups, patching and recovery fall to the same team and host as the application.The PostgreSQL version and sizing the Central Server release requires.
Remote self-managed PostgreSQLYour database team runs PostgreSQL centrally with its own backup and monitoring standards.Network path, TLS and credentials must be engineered and tested before the install.Whether the Central Server accepts the same remote connection settings the Security Server guide describes.
Managed PostgreSQL (AWS RDS or Azure Database for PostgreSQL)Your cloud estate already uses managed databases and you want provider-managed backups.Provider maintenance windows and parameter limits can affect upgrade timing.That the managed service is supported for the Central Server database, not only for the Security Server.
Hardware security module via PKCS#11Your policy requires signing keys in hardware, using RSA or EC keys through the xroad-addon-hwtokens package.Adds driver, token and key backup procedures, and depends on the HSM vendor's library.Whether the Central Server signing keys follow the same token path as the Security Server guide and which HSMs your driver supports.
Software-held keysLab, pilot or test instances where your policy accepts keys stored on the host.Key protection depends entirely on host hardening and how backups are handled.Your policy owner's position on where the operator's signing keys may be stored.
Management services Security ServerEvery instance needs one, and it is installed and registered after the Central Server.Install order is fixed, so registration cannot finish until this Security Server exists.Who holds the management service provider role and where the management Security Server will run.

Setup sequence for the Central Server and its first checks

This sequence takes a Central Server from a chosen platform and release to a running, reachable instance, with the management Security Server prepared for registration. Each step closes with a check that the next step depends on. Exact commands belong to the official installation documentation, so confirm them against your release before you begin.

  1. Confirm the platform and release

    Select the operating system, the X-Road release and the database option before anything is installed. Your infrastructure team confirms the host meets the requirements in the official installation documentation for the Central Server, since the supplied platform facts cover the Security Server. The Security Server supports Ubuntu Server 22.04 and 24.04 LTS on x86-64 and Red Hat Enterprise Linux 8 and 9, so align the Central Server host with that list unless the documentation says otherwise. The current release is 7.8.3, with 7.7.4 and 7.6.5 also supported. Check: the host is on a supported platform, and the exact release and package source are recorded in the change record.

  2. Prepare the PostgreSQL database

    Provision the PostgreSQL database the Central Server will use, either on the same host or on a remote server. A managed service such as AWS RDS or Azure Database for PostgreSQL is an option, as the Security Server documentation notes for its own database. Create the database and a dedicated account, then confirm the database version and connection settings in the installation guide. Restrict network access to the database so that only the Central Server host can reach it. Check: a test connection from the Central Server host succeeds with the intended account, and the same connection fails from any other host.

  3. Set the instance identifier

    Agree the instance identifier before initialization. It names the X-Road instance and forms part of the service identifiers used across the ecosystem, so the governance owner should confirm it with the operators of any systems you expect to connect. Changing it after members join is difficult, so record the decision, its approver and the reasoning. The sibling topic on member classes and identifiers covers the trade-offs in detail. Check: the identifier is written in the governance record and matches the value you will enter during initialization.

  4. Install and initialize the Central Server

    Install the Central Server package from the release you selected, then run the initialization steps in the installation guide, supplying the database connection and the instance identifier. Initialization creates the configuration that the Central Server later distributes to member Security Servers, so it must run against the correct database. Store the initial credentials in your secrets management system as soon as they are created. Check: the package installs without errors, initialization completes, and the service starts and stays running under the system service manager.

  5. Verify listening ports and service health

    Confirm that the Central Server listens only on the ports the installation guide documents, and compare the listening sockets with your firewall rules and network design. Open only the paths your design requires, and keep administrative access on internal networks. Then review the service status and logs the guide describes for errors during startup or database access. Confirm the exact port list against the documentation for your release, since this topic's supplied facts cover the Security Server ports only. Check: the expected listeners appear on the host, the firewall allows only the documented traffic from the networks you intend, and the logs show no startup errors.

  6. Prepare the management Security Server

    Prepare the management Security Server that must be registered next. Install it on its own host using the Security Server installation guide, which lists the supported platforms, the PostgreSQL requirement and the ports it uses: TCP 5500 and 5577 from external networks, TCP 4000 for the admin UI, and 8080 or 8443 for information system access from internal networks. The guide gives a minimum of 3 GB RAM (4 GB with monitoring add-ons) and 3 GB free disk space. Do not enable maintenance mode on the management Security Server. Check: the host meets the minimum resources, its database connection works, and the admin UI answers on the internal network before registration begins.

Why the instance identifier and first configuration are hard to change

The instance identifier and the first global configuration set the frame that every member's service identifiers and trust chain are built on. A member's service identifier combines the instance, member class, member code and subsystem code, so once members have registered and published services under an instance identifier, changing it means re-registering members, republishing services and updating every consumer that calls them. Settle these values before the first member joins, not after the first pilot exchange has run.

Before you run the initialization on the Central Server, agree the instance identifier, the member classes you will allow, and the first set of approved trust services with the owning authority in writing. The owning authority should also confirm who will hold the configuration signing keys and who can approve membership changes, because those people will receive every later change to the global configuration. Check the member class and identifier decisions against the sibling topic on designing X-Road member classes and identifiers, and confirm that the chosen release and certificate profiles are the ones your ecosystem will run for years, since the current release line is 7.8.3 and the 8.0.0 Beta 2 is not yet a production release.

Treat the first configuration as a controlled change: record the values, the signing key holder and the expected trust anchor in the operator's change log before any Security Server is registered. Confirm with the owning authority which settings are cosmetic and which are structural, and ask the vendor or NIIS documentation for the exact procedure to change an instance identifier on a live instance, since that procedure is not a routine task and should not be assumed to be available.

Security considerations for the Central Server host

The Central Server holds the signed global configuration for the whole instance, so a compromised host or admin account affects every member. The cards below cover the hardening baseline, admin authentication, role separation and protection of the database and keys, and what to check on each before the server joins production.

Account lockout after failed logins

The X-Road security hardening guide (version 0.6, 09.01.2025) recommends locking accounts for 15 minutes after 3 failed logins. Apply this to every local operating system account on the Central Server, including the account used for administration. Confirm the lockout policy with your PAM configuration, then test it with a deliberate failed login in a staging instance so you know the lock actually engages and clears on schedule.

Hardening guide

Password length and key-only SSH

The hardening guide recommends passwords of at least 16 characters for local accounts and key-only SSH for remote access to the host. Disable password authentication in the SSH daemon configuration, restrict which accounts may log in remotely, and keep the private keys on administrator workstations protected by a passphrase or hardware-backed storage. Record who holds each key so offboarding removes access.

Minimum password length
16 chars

Allowed hostnames against host header injection

The hardening guide recommends configuring the allowed-hostnames setting so the Central Server's admin interface only responds to the host names your administrators actually use. Without it, a crafted host header can be accepted and used in responses or redirects. List the production host name and any load balancer name explicitly, then confirm that requests to other names are rejected.

Role separation across administrators

The X-Road Security Server defines five user roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. The Central Server work is split similarly in practice, so avoid giving one person operating-system root and configuration-signing responsibilities. Assign each role to a named person, document the separation in your operating procedures, and review assignments whenever staff change.

Security Server user guide

LDAP or PAM integration for admin users

Admin users authenticate through PAM, and the Security Server user guide describes LDAP integration through SSSD with LDAP groups mapped to X-Road roles. Centralizing this lets you disable an administrator in one directory rather than on each host. Confirm that group membership changes propagate as expected, that local fallback accounts are controlled and monitored, and that the directory itself is protected with the same lockout and password rules.

Database and HSM-held key protection

The Central Server depends on a PostgreSQL database, which can be local or remote, and any signing keys held in a hardware security module are reached through PKCS#11 drivers installed with the xroad-addon-hwtokens package. Restrict database network access to the Central Server host, use separate database credentials, and limit who can load PKCS#11 modules or read token PINs. Ask your HSM vendor to confirm the module and key types supported for your deployment.

Questions operators ask before installing the Central Server

What does it cost to install an X-Road Central Server?

The install cost is mostly the labor to plan, build and hand over the server, plus the infrastructure it runs on. The supplied research does not include a price or effort figure for the Central Server, so ask any partner for a quote built from a written scope. The main cost components are the hosts and their platform licensing or cloud fees, the PostgreSQL database (local or managed), the network and firewall work, the initial configuration and identifier design, and the documentation and handover. Infrastructure and database costs recur each year, while design and installation are one-time. Effort rises with the number of environments (test and production), the database model, hardware security module integration and the number of agencies or organizations that must review the configuration. Ask for each component to be priced separately so you can see what is one-time and what recurs.

How long does a Central Server installation take?

Duration depends mainly on how much of the design is already settled and how many environments must be built. Installing the software itself is the shortest part. The longer work is agreeing the instance identifier and member classes, which are hard to change later, arranging the database and network paths, and getting approval for the configuration. No duration figure was supplied for this work, so confirm a timeline in the written scope. Delays usually come from waiting on firewall changes, database provisioning, certificate decisions and sign-off from the owning authority. A test instance built first lets the team validate the setup before production, which adds time but reduces rework.

What does the operator need to provide before installation starts?

The operator must provide a supported platform, a database, network access and named people for each role. Before work begins, confirm the following:

  • Hosts that meet the platform requirements, with Ubuntu Server 22.04 or 24.04 LTS on x86-64 or Red Hat Enterprise Linux 8 or 9 listed as supported options for the related Security Server, and with the Central Server platform checked in the X-Road GitHub repository
  • A PostgreSQL database, local or remote, including managed services
  • Firewall rules for the ports the components need, agreed in advance
  • The instance identifier and member class decisions, made before any member joins
  • Staff for the roles the ecosystem needs, including someone who will hold the security officer function and someone for system administration
  • A test environment, so configuration can be checked before production
Can our own team install the Central Server without a partner?

Yes, a capable Linux and database team can install the Central Server, provided it has the time and the governance decisions in place. The harder parts are not the commands. They are the identifier and member design, the security hardening, the certificate and key handling, and the operational runbooks that will be needed for years. The security hardening guide recommends practices such as key-only SSH, long passwords and account lockout after repeated failed logins, and these need to be applied and verified. Ask whether your team has done this before, whether it can run a rehearsal in a test environment, and who will maintain the setup after handover.

Should we outsource running the central components?

Outsourcing running the central components is possible, but admitting members and support stay with the operator. Splitting duties is the question to settle with the owning authority before any contract is signed. Running the servers, the database and routine maintenance can be contracted out, while decisions about who joins the ecosystem remain the operator's responsibility. Include in the contract who holds access to keys and configuration, how changes are approved, where backups are kept and how incidents are escalated. The X-Road GitHub repository is the starting point for checking the software and its supported platforms before you compare providers.

How does the Central Server relate to the management Security Server?

The Central Server holds the shared global configuration, and the management Security Server is the member that connects to it for management services. The Central Server is installed first because the management services depend on its configuration. Plan the management Security Server immediately after, using the same supported platform rules and database options as other Security Servers. Note that maintenance mode cannot be enabled on the management Security Server, so schedule maintenance windows with that in mind. Confirm the sequence and the management service provider with the owning authority before installation starts. The X-Road Security Server installation guide describes the Security Server requirements that apply to this step.

How the Central Server, database and management Security Server connect

The diagram starts at the operator's Central Server, which holds the global configuration and reads or writes its database, either local or remote. The operator's hardware security module link is shown beside it, since signing keys are a separate concern from storage. The management Security Server is installed and registered after the Central Server, and it sits inside the operator network, while member Security Servers in member networks receive the global configuration across the trust boundary. Check that the database is reachable only from the Central Server, that the HSM link is in place before signing keys are used, and that member networks never reach the Central Server's admin interface.

Central Server, its database and HSM, the management Security Server, and member distribution.

How DeployOpen scopes and delivers a Central Server installation

DeployOpen plans, installs and documents the X-Road Central Server inside the operator's own infrastructure, from platform and database choices through the instance identifier and handover. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts.

How we scope

  • Confirm the operator's owning authority, instance identifier and member class plan before any build work begins
  • Record the target platform, Central Server database option and network ports in a written scope
  • Agree which deliverables are in scope, including configuration documentation and the handover checklist
  • Capture who will own the Central Server after handover and who will run the management Security Server

How we build

  • Prepare the Central Server host on a supported platform and verify ports and firewall rules before installation
  • Install and configure the Central Server against a local or remote PostgreSQL database chosen during scoping
  • Set the initial configuration and instance identifier, then test that the Central Server starts and responds as expected
  • Test the installation against the Security Server requirements that must follow, such as ports, database access and hardware security module needs

How we hand over

  • Deliver written installation and configuration records covering platform, database, ports, identifiers and access accounts
  • Document the steps to repeat the installation, and the decisions taken, so the operator's team can maintain it
  • Walk the operator's administrators through daily checks, backups and the next steps for the management Security Server
  • Provide a handover checklist that records open items and the agreed owner for each one

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial installation
  • Scope follow-on work such as Security Server rollout, hardening review or upgrades as separate written engagements
  • Ask DeployOpen to confirm which support items, response arrangements and upgrade paths the retainer covers before signing
  • Request a quote based on the written scope, which sets the basis for cost, duration and deliverables

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.