How to set up the X-Road management Security Server for a new instance
An X-Road management Security Server runs the management services that the Central Server depends on for day-to-day membership work, such as handling registration requests from member Security Servers. You need one in place before any other member can join, so it belongs immediately after the Central Server in the setup order. Treat this step as part of the instance build, and schedule it before any member onboarding begins. Before you start the installation, confirm which organization will be the management service provider and that the platform, database and network requirements in the installation guide are ready for this server.
The management service provider is the member that operates the management services and the management Security Server, so it holds central administrative responsibility for the instance. Decide who fills this role before installation, because the choice determines who receives administrator access to the server and who answers for its availability. Record the appointment in writing, and name the people who will hold the Security Officer and System Administrator roles on the server. Agree with the instance governance what the provider may change and what stays with the operator, so that administrative authority is clear from the first day.
Once the server is running, plan its availability as a core service, because maintenance mode cannot be enabled on the management Security Server. Schedule patching and other changes around the members who depend on management requests, and tell them in advance when work will happen. Before you declare the server ready, check that its admin roles map to the people you named, that its database and ports match the installation guide, and that the registration steps are complete. Confirm the exact steps for the release you deploy against the X-Road releases page, where the current release is listed as 7.8.3.
Which management Security Server options fit your instance
This table compares the decisions an operator makes before installing the management services Security Server: the hosting member, the host platform, the database, key storage and admin authentication. Read each row for when an option fits, what it changes for daily operations and what to confirm with the vendor or in the installation guide. Settle each row in the written scope before installation so the setup matches your access and audit requirements.
| Decision | Option | When it fits | What changes and what to confirm |
|---|---|---|---|
| Management service provider | Member hosting the management services Security Server | Fits when one member is designated to run the management services for the instance. | That member carries the hosting duties. Confirm the designation steps and duties in the installation guide. |
| Host platform | Ubuntu Server 22.04 or 24.04 LTS on x86-64 | Fits when your team already operates Ubuntu LTS servers on x86-64. | Minimum 3 GB RAM (4 GB with monitoring add-ons) and 3 GB free disk. Confirm in the installation guide. |
| Host platform | Red Hat Enterprise Linux 8 or 9 | Fits when your organization standardizes on RHEL 8 or 9 for its servers. | Confirm exact supported versions and package sources in the installation guide. |
| Database | Local PostgreSQL on the Security Server host | Fits when you want one host to hold the server and its database for a simpler setup. | You patch and back up both together. Confirm the PostgreSQL version the guide requires. |
| Database | Remote PostgreSQL, including managed services | Fits when a database team or a managed service such as AWS RDS already runs PostgreSQL. | Backups and failover move to that service. Confirm supported engines and connectivity in the guide. |
| Key storage | Software keys | Fits when policy allows keys held on the server under host hardening controls. | Simplest to run, but key protection depends on host hardening. Confirm key handling in the installation guide. |
| Key storage | PKCS#11 hardware security module via xroad-addon-hwtokens | Fits when policy requires keys in an HSM, using RSA or EC keys. | Needs the xroad-addon-hwtokens package and a vendor driver. Confirm HSM model support with the HSM vendor and the guide. |
| Admin authentication | Local PAM accounts | Fits when a small team administers the server and local accounts meet policy. | Each host keeps its own accounts, so access changes are made per server. Confirm the five roles in the user guide. |
| Admin authentication | LDAP groups through SSSD mapped to X-Road roles | Fits when admins already belong to directory groups that your access reviews cover. | Access follows group membership. Confirm the group-to-role mapping and SSSD setup in the user guide. |
Setting up the management Security Server step by step
This sequence takes a management Security Server from planning to verified registration on an X-Road instance. It starts from the Central Server and identifiers that already exist, then moves through host, database, network and software preparation. Exact commands and package steps come from the installation guide for the release you choose.
Confirm the Central Server and instance identifier
The operator confirms that the Central Server for the target X-Road instance is running and that the instance identifier is settled. Member classes and identifiers are hard to change later, so the management Security Server must be built on the identifiers the Central Server already uses. Record the instance identifier, the Central Server address and the release version in the project file. Done when the operator can state all three values and the Central Server is reachable from the host you plan to use.
Appoint the management service provider
Decide which member will run the management services Security Server and document the appointment before any host is built. The appointment should name the organization, the people who will administer the server, and who will hold the Security Officer and Registration Officer roles on it. Confirm with the operator which duties stay with the operator, such as admitting members, and which the provider may carry out. Done when a written appointment exists and the named administrators are available for registration.
Prepare the host to documented minimums
Provision a server on a supported platform: Ubuntu Server 22.04 or 24.04 LTS on x86-64, or Red Hat Enterprise Linux 8 or 9. The documented minimums are 3 GB RAM and 3 GB free disk space, and 4 GB RAM if you plan to run monitoring add-ons. Apply your baseline hardening, including key-only SSH, and follow the security hardening guidelines before going further. Done when the host reports the memory and free disk space above, the OS version is on the supported list, and DNS resolves correctly on your network.
Provision PostgreSQL for the Security Server
Set up a PostgreSQL database that the management Security Server can reach, either on the same host or on a separate server. Managed services such as AWS RDS and Azure Database for PostgreSQL are also supported. Create the database and a dedicated account, limit that account to what the installation requires, and restrict network access to the Security Server host. Done when a test connection from the Security Server host succeeds with that account and the database version is one the installation guide lists for your release.
Open the documented network ports
Open TCP 4000 for the admin UI from internal networks only. Open TCP 5500 and 5577 from external networks so other members can exchange messages and reach OCSP. If information systems will connect through this server, plan TCP 8080 or 8443 from internal networks as well. Apply the rules at the host firewall and at the network edge, and confirm that no other port is exposed. Done when a check from an internal host and from an external host shows only the expected ports open.
Install the Security Server packages
Install the Security Server on the prepared host using the package steps in the installation guide for your chosen release. The current release is 7.8.3, and 7.7.4 and 7.6.5 are also supported, so confirm the release before pulling packages. Point the installation at the PostgreSQL database from the previous step and set admin credentials through the documented process. If you plan to use a hardware security module, decide now whether to install the xroad-addon-hwtokens package. Done when the services start, the admin UI answers on TCP 4000 from an internal host, and the database connection reports as working.
Register the management Security Server with the instance
Submit the registration request for the management Security Server to the Central Server, then have the operator approve it. Check that the request uses the instance identifier and member code confirmed at the start and that it identifies this server as the management services Security Server. Compare the certificate details in the request with your records before approval. Done when the operator confirms the registration on the Central Server. Maintenance mode cannot be enabled on this server, so plan changes around that constraint.
Verify the registration and admin access
Confirm the server works before handing it over. Sign in to the admin UI from an internal host, check that service and database status are healthy, and confirm that the identifiers and registration status match the Central Server. Test that the message exchange port is reachable from an external host to confirm the network rule. Record the results, release version and open ports in the operations file, then assign the admin roles to named people. Done when a written verification record shows each check passed and each administrator can sign in with the assigned role.
How the management Security Server connects the Central Server, database and network zones
Start with the management Security Server, the member node that holds the management services. It talks to the Central Server for global configuration and to a PostgreSQL database, which can be local or remote. On the internal side, admin users reach the admin UI on TCP 4000, and internal information systems reach the server on TCP 8080 or 8443. On the external side, peer Security Servers reach it on TCP 5500 for message exchange and TCP 5577 for OCSP. The boundary between the internal and external zones is the line to check: each open port should match a firewall rule you can justify.
The diagram shows the documented ports only; it is a partial view.
Why maintenance mode cannot be enabled on the management Security Server
The management services Security Server cannot have maintenance mode enabled. Plan for this server as one that stays in service for its management role throughout its lifecycle, and do not write a change procedure that begins by putting it into maintenance mode. Because this server hosts the management services for the instance, it needs its own entry in the change calendar, separate from the member Security Servers you onboard. Your administrators will reach it through the admin UI on TCP 4000 and through its PostgreSQL connection, so both should appear in the change plan from the start.
When you plan a maintenance window for this server, assume that the work will happen while the management services keep running. Typical tasks include operating system patches, kernel reboots, database maintenance on a local or remote PostgreSQL instance, and certificate renewals. List each task with its expected effect on the management functions. Have your team rehearse every step on a staging copy, take a verified backup before each change, and write down a rollback path. If the database is a managed service such as AWS RDS or Azure Database for PostgreSQL, confirm with the provider which maintenance events can restart the instance and when they are scheduled.
The reason for this restriction, and any supported workaround, must be confirmed in the official documentation for the release you run. The supported versions are 7.8.3, 7.7.4 and 7.6.5, with 7.8.3 as the current release, so check the guide that matches your installed version before you finalize the runbook. Confirm the answer with your X-Road support provider in writing before you commit to a window, and record it beside the server's configuration notes. Review the X-Road releases page again whenever you plan an upgrade, because the guidance for a window can change between releases.
Securing admin access on the management Security Server
The management Security Server holds the admin interface that controls your X-Road instance, so its access controls matter. The six controls below cover who can act as an admin, how logins are protected, how the host is reached, how global configuration is distributed and how back-end secrets are stored. For each one, check the live setting on the running server.
Role separation across five roles
The Security Server defines five admin roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Decide which of these your organization assigns to separate people, because one operator holding several roles removes the checks that separation exists to provide. Verify that each assignment maps to a named person with a documented duty, and confirm that the Observer role carries only the view access you intend. Review assignments on a fixed schedule and after staff changes.
Security Server user guideMapping LDAP groups to roles
Admin logins go through PAM, which can use SSSD to query an LDAP directory. Map LDAP groups to X-Road roles so that a change in group membership changes admin access without editing local accounts on the server. Verify the mapping by logging in as a test user from each group and confirming that only the expected role appears. Then remove a test user from the group and confirm that access ends, including any cached credentials that SSSD holds.
Lockout and password length
The hardening guidance recommends locking an account for 15 minutes after 3 failed logins, and using passwords of at least 16 characters for admin accounts. Together these slow online guessing against the admin interface. Verify both by triggering a lockout on a test account and confirming when the lock lifts, and check the password policy on every local admin account. Also confirm that someone on your team can clear a locked admin account through a documented and tested procedure.
Security hardening guidelinesKey-only SSH and allowed hostnames
The hardening guidance recommends key-only SSH, so password logins to the host are disabled and each admin authenticates with a personal key. The allowed-hostnames setting limits which host names the admin interface accepts, which guards against host header injection. Verify that password authentication is off on the host, that every key belongs to one named admin, and that the allowed-hostnames value lists only the names your admins actually use.
Global configuration over HTTPS
From version 7.4, the hardening guidance recommends publishing global configuration over HTTPS. Global configuration describes the members, services and trust anchors that every Security Server relies on, so its transport and integrity need protection. Verify that the distribution endpoint serves HTTPS on the release you run, and that clients validate the certificate you expect. Agree the certificate change with member operators before it takes effect across the ecosystem.
PostgreSQL and HSM key protection
The Security Server requires PostgreSQL, either local or remote, including managed services. Verify that the database connection is encrypted, that the database account has rights only for the Security Server, and that the database is reachable only from that server. Keys can sit in a hardware security module through PKCS#11 drivers from the xroad-addon-hwtokens package. Confirm that the HSM login credential is not stored in plain text on the host and that HSM access is limited to the Security Server.
Questions operators ask before setting up management services
What does setting up X-Road management services cost, and who pays for what?
No price applies until a written scope exists, but the cost splits into components you can ask a partner to separate. Your organization pays for the servers or cloud capacity that host the management Security Server, the PostgreSQL database (local or managed), any hardware security modules, and the staff time from your platform, network, security and identity teams. A partner's fee covers planning, installation, registration support and handover, which is normally one-time. Recurring costs include running and patching the server, upgrades between X-Road releases and any support retainer. Ask for a quote that lists each item, marks it as one-time or recurring, and states the environments and approvals it assumes.
How long does it take to set up X-Road management services?
Duration depends mostly on the state of your X-Road instance and on your approvals, so no standard timeline applies. The largest drivers are whether the Central Server is already running, whether a supported host is ready (Ubuntu Server 22.04 or 24.04 LTS on x86-64, or Red Hat Enterprise Linux 8 or 9), whether PostgreSQL is available locally or as a managed service, whether hardware security modules are part of the design, and how quickly certificate and registration requests clear the approval steps. Approval waiting time is outside any installer's control. Ask for a timeline in the written scope that lists these dependencies as stated assumptions, and confirm with your ecosystem owner how long registration approvals take.
What does our team need to provide for management services?
Your team supplies the people, platform and decisions that no partner can make on your behalf. Plan for a platform owner who can provision a supported Linux host with at least 3 GB of RAM (4 GB with monitoring add-ons) and 3 GB of free disk space. A database administrator should own the PostgreSQL instance. A network engineer must open TCP 5500 and 5577 to external networks and TCP 4000 plus 8080 or 8443 to internal networks. Your security team should decide who holds the five admin roles, including Security Officer and Registration Officer, and whether admin logins go through PAM with LDAP groups mapped via SSSD. Confirm each role holder and access path in the written scope before work starts.
Can we set up X-Road management services without an outside partner?
An operator can do this in-house if its team has the Linux, PostgreSQL, network and PKI skills, and if its position in the ecosystem allows it to run these components. The installation and user guides cover packages, database options, ports and roles. The decisions that are hardest to reverse are made before installation, including database layout, hardware security module use, role separation and cluster design, so an in-house team should review those choices with the ecosystem rules in hand. Ask three questions: who has done this before, who will own the server after handover, and who will carry out upgrades. If any answer is unclear, a fixed-scope engagement with written deliverables can cover the gap. DeployOpen plans, implements, hardens, documents and supports open-source platforms inside your own infrastructure.
Who can act as the management service provider in an X-Road ecosystem?
The ecosystem's owner and its governance rules decide who may hold this role, so confirm eligibility with the operator of your X-Road instance before you appoint anyone. In general, running central components can be contracted out, while admitting members and support decisions stay with the operator. Put the appointment in writing and list which responsibilities pass to the provider. Ask the ecosystem owner which organizations may hold the role, whether a provider may run the management Security Server on your behalf, what access it needs to the Central Server, and how the appointment is withdrawn. Record the answers in your operator responsibilities documentation and confirm them before any partner receives admin credentials.
What happens if someone tries to enable maintenance mode on the management Security Server?
Maintenance mode cannot be enabled on the management services Security Server, so the attempt will not succeed and the server keeps handling management traffic. Plan changes around that constraint. Schedule patching, configuration changes and restarts in windows that your ecosystem has agreed, and check the documentation for your release for the approved restart and update steps. Monitor the management path so that the team sees degradation before members report it. Do not edit database rows or configuration files by hand to force a different state, because that can leave the management server and the Central Server out of step, and the change will be difficult to explain in a later audit.
How does X-Road 7 maintenance differ from the X-Road 8 beta?
X-Road 7 is the production line to deploy now, and X-Road 8 is still in beta testing. The current release is 7.8.3, and 7.7.4 and 7.6.5 are also supported. Version 7.8.0 is the last new-feature release in the 7 line. NIIS intends to keep maintaining 7 with bug fixes and security patches beyond 2026, but it has not decided how long that period will last, so request that date in writing before you commit. X-Road 8 Spaceship is available as 8.0.0 Beta 2, with a production release scheduled for December 2026. Treat management services work on the beta as a test exercise, and build the production plan on 7.x with a defined upgrade path. Confirm current dates on the X-Road releases page.
Who does what across the operator, the provider and members
The operator owns the X-Road instance as a whole. It decides who joins, approves member and subsystem registrations, and controls the central components and global configuration that every Security Server relies on. These duties stay in-house even when a provider installs and runs the management Security Server.
- Admitting members and subsystems: Approving membership, member classes and subsystem registrations, and deciding who may join the ecosystem.
- Support and escalation: Acting as the first point of contact for members, handling incidents and deciding which changes reach the central side.
- Central components: Keeping the Central Server, global configuration and signing key decisions under operator control.
- Written boundary: Documenting, before work starts, which tasks the provider performs, which the operator keeps and how changes get approved.
Inputs: the instance identifier and member class decisions, the list of organizations to admit, and the scope agreed with the provider. Receives: a registered management Security Server, runbooks and a documented ownership map. Plan the boundary with the same care as the technical build, because it decides who answers when a member cannot exchange data.
Check that the boundary document names one owner for every duty in this list and an escalation path between the two parties.
The appointed management service provider installs and registers the management services Security Server, operates it day to day and carries out the tasks the operator delegates in writing. The provider does not decide membership or approve registrations. Those decisions go back to the operator.
- Installation and registration: Installing the management services Security Server and completing its registration as the operator directs.
- Platform and database: Running the operating system on a supported platform, including the PostgreSQL database (local or remote) and patching within windows agreed with the operator.
- Access and admin accounts: Managing the five Security Server user roles and admin login, including any LDAP integration through PAM and SSSD.
- Hardening and key handling: Applying the hardening baseline, network rules and any hardware security module setup the operator requires.
Inputs: a host meeting the Security Server requirements for operating system, RAM and disk, database access, the network ports the operator confirms, and any HSM with its PKCS#11 driver. Receives: a working management Security Server with documented configuration, role assignments and an operations handover. Confirm with the operator that maintenance mode is not enabled on this server, since it cannot be enabled there.
Check that the provider's scope lists the platform, database, access and key tasks, and that any change outside that list needs operator sign-off.
Member organizations run their own Security Servers and connect their information systems to the ecosystem. They do not operate the management Security Server, but their onboarding depends on the operator's approval and on the management services being ready. Their work starts once the operator has accepted their registration requests.
- Own Security Server: Installing and registering their Security Server, which the operator reviews and approves during onboarding.
- Information systems: Publishing and consuming services through their Security Server, including TLS settings toward their own systems.
- Access rights: Granting local access to their services and reviewing who uses them over time.
- Contact path: Routing questions and incidents through the operator, who decides whether the provider takes them up.
Inputs: a platform that meets the Security Server requirements, a PostgreSQL database, the network rules for the ports the Security Server uses, service descriptions and the certificates needed for registration. Receives: a registered Security Server, membership in the ecosystem and the global configuration the operator distributes. Members should not assume that the provider answers their requests directly.
Check that your onboarding request names the operator contact and that you hold the operator's written list of what the provider handles on your behalf.
What to confirm before you set up X-Road management services
Six limits shape how the management Security Server can be built and run. Confirm each one against the release you plan to install before you commit to a design. The release line, operating system and database choices decide whether the setup can proceed as planned.
Supported release line
7.8.3 is the current release, and 7.7.4 and 7.6.5 are the other supported versions. Pick one of these for the management Security Server, and plan to keep it aligned with the Central Server and the other Security Servers in the instance so the management services behave like the rest of the ecosystem. Check the releases page on the day you start, because support status can change between planning and installation.
X-Road releasesX-Road 7 maintenance is undecided
X-Road 7.8.0, released at the beginning of February 2026, is the last new-feature release of the 7 line. NIIS intends to keep X-Road 7 receiving bug fixes and security patches beyond 2026, but the length of that period has not been decided. Ask the operator for the current maintenance commitment before you plan a multi-year run on any 7.x release, and record the answer in the project file.
NIIS 7.8.0 announcementX-Road 8 is still in beta
X-Road 8 Spaceship is available for testing as 8.0.0 Beta 2, and its production release is scheduled for December 2026. Use it for evaluation in a non-production instance that mirrors your registration and certificate setup, not as the management Security Server for a live instance. Its stated focus includes improved monitoring and cloud compatibility, so test those areas against your own environment before any production decision.
X-Road releasesOperating system and hardware
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. The minimum is 3 GB of RAM, rising to 4 GB with monitoring add-ons, plus 3 GB of free disk space. Confirm these values against the installation guide for your chosen release, and size the server for the monitoring you plan to run.
Security Server installation guideManaged PostgreSQL compatibility
The Security Server needs PostgreSQL, which can run locally or on a remote server, including managed services such as AWS RDS and Azure Database for PostgreSQL. Validate the managed service in your environment before you commit to it. Check the PostgreSQL major version your release supports, network reachability from the management Security Server, the parameters the provider exposes, and how the provider handles backups and failover.
Maintenance mode restriction
Maintenance mode cannot be enabled on the management Security Server, so patching and outage windows for that server need a different plan from the others. Confirm this restriction for the release you run before you write the maintenance runbook. Ask the operator how management services stay available during Security Server work, and record the check with the release number so your change board can trace it.
Security Server user guideHow DeployOpen scopes and delivers management Security Server setup
DeployOpen sets up the management Security Server inside your own infrastructure once the management service provider appointment is documented. The build follows the platform, port and database requirements in the X-Road Security Server documentation, with each decision recorded in the written scope. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Confirm which organization is appointed as management service provider and record that decision in the written scope.
- Fix the host platform and sizing against the documented minimums, including 3 GB RAM and 3 GB free disk space.
- Agree the written scope and deliverables before work starts, with ongoing support available as a retainer.
How we build
- Provision a PostgreSQL database, local or remote, including managed services, and confirm backup ownership before installation.
- Open only the ports the Security Server documentation requires for your version, including 5500 and 5577 externally and 4000 internally.
- Set up admin access through PAM, optionally via LDAP and SSSD, with LDAP groups mapped to the five X-Road roles.
How we hand over
- Document that maintenance mode cannot be enabled on the management Security Server and how the team should plan around it.
- Hand over a runbook covering the registration steps, admin roles, port map and database connection settings.
- Include a record of each configuration decision and who approved it, so reviewers can trace the setup later.
How we support
- Plan upgrades against the supported release lines, currently 7.8.3, 7.7.4 and 7.6.5, before the next change window.
- Re-check hardening settings from the X-Road hardening guide, such as account lockout and the allowed-hostnames setting, after each upgrade.
- Ongoing support, upgrades and continuous testing are available as a retainer, scoped separately from the build.

