Why separating X-Road administrator roles matters before you go live
Separating X-Road administrator roles splits registration, security, service and system administration across the five Security Server roles so that no single person can change trust, membership and exchange settings alone. If your member organization runs its Security Server with one or two administrators who do everything, that concentration is the first thing an auditor or a new shared-operations partner will question. Teams usually need the split before go-live in three situations: when the member is regulated and must show who could have changed a control, when operations are shared across business units or with a service provider, and when an audit request asks who approved a configuration change. The five roles, Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer, are defined in the Security Server user guide, so confirm the exact permissions there before you write a role matrix.
The split is only as strong as the identity behind it. The user guide describes admin authentication through PAM, which can be linked to LDAP via SSSD so that LDAP groups map to X-Road roles. That mapping is where weak designs most often fail: one broad directory group, a shared local account or an out-of-date membership list gives one person every role in practice. Before go-live, ask for three things in writing: a named owner for each directory group, a rule that no person holds both the approval role and the role that applies the change, and an approval record kept outside the Security Server that shows who requested and who approved each registration, security or service change. Then test the mapping by logging in as one user from each group and recording what that user can actually do in the admin interface.
What each of the five Security Server roles covers
The Security Server defines five user roles, and each one controls a different part of the setup. Assigning them to separate people or directory groups keeps no single administrator able to register a member, change security material, publish a service and alter the host. The cards below describe the work each role is meant to own and what to check before you assign it.
Security Officer
The Security Officer handles the cryptographic material the Security Server uses, including keys, tokens and certificates. Keep this role away from service publication and host changes, so the person who controls keys cannot also widen who is connected. Check the Security Officer activity area in the user guide for the installed version, and confirm the exact list of actions before you map the role to a directory group.
Registration Officer
The Registration Officer registers client subsystems on the Security Server and prepares the registration requests that the X-Road operator reviews. This is the first gate for who may join, so it should sit with people who know the member's onboarding process. Check the registration activity area in the user guide for the installed version, and confirm whether the role can only submit requests or can also approve them.
Service Administrator
The Service Administrator manages the services the Security Server publishes and the access rights that decide which clients may call them. Changes here alter what other members can reach, so they should pass through a review step handled by someone else. Check the services and access rights activity areas in the user guide for the installed version before you write any directory mapping.
System Administrator
The System Administrator runs the host, the operating system, backups, logs and the Security Server service itself. This role may reach the database and configuration files outside the application's role model, so the split only holds if operating system access is limited to the same people. Check the system settings area in the user guide and the hardening guidelines for the installed version, and confirm what the role can change from the admin UI.
Hardening guidelinesSecurity Server Observer
The Security Server Observer is meant to be a read-only view for auditors, reviewers and on-call staff who need to see the configuration without changing it. Expect this role to be read-only, but confirm that in the user guide for the installed version, because a view-only role that can still export data or trigger actions changes the audit picture. Map it to its own directory group so that viewing access is granted and reviewed separately.
Security Server user guideHow directory groups reach the Security Server admin roles
The flow starts in the directory, where LDAP or identity provider groups hold the people who administer the Security Server. SSSD on the host pulls those groups, and PAM uses them when an admin logs in. The admin UI on TCP 4000 is internal-network access, and group membership maps each admin to one of the five X-Road roles inside the UI. The lower branch is the system administrator's SSH and host login, a separate trust boundary: logging in to the host does not grant any X-Road role. When you review this, confirm that each directory group maps to the role you intend and that OS access uses its own group set.
Admin logins flow from the directory through SSSD and PAM, separate from host login.
Choosing how to map people to X-Road roles
This table compares three ways to attach people to the five Security Server roles: local operating system accounts, LDAP groups through SSSD and PAM, and combined roles held by one administrator. Read each row against your team size, number of Security Servers and existing directory. The main takeaway is that the directory option gives the clearest audit trail once it is set up, while combined roles should only be used with compensating approval controls.
| Option | Fit | Main effort driver | Audit trail and main risk |
|---|---|---|---|
| Local operating system accounts per host | Small teams with one or two Security Servers and no central directory in use | Creating, changing and removing accounts on every host and keeping group membership matching | Host logs name local accounts only. Main risk: leavers keep access on one host that was missed. |
| LDAP groups through SSSD and PAM | Organizations with an existing directory and several Security Servers or frequent team changes | Directory group design, SSSD and PAM setup on each host, and confirm LDAP group mapping steps in the user guide for your version | Logins tie to directory identities, so a group change applies on every host that uses it. Main risk: a broad group grants extra roles. |
| Combined roles held by one administrator in a small member | One Security Server and a few staff, where headcount cannot separate duties | Little setup, but the member must design compensating controls such as second-person approval and separate review of logs | Actions across roles share one identity, so the audit trail depends on separate approval records. Main risk: one account can register, approve and change security settings. |
Setting up role separation on a Security Server
This sequence moves a Security Server from broad, shared administrator access to one account per person, mapped to the five X-Road roles through your directory. Each step ends with a check you can record, so the outcome is evidence a reviewer can follow.
Inventory who performs each administrative task
Before changing anything, list every administrative task performed on the Security Server today, including registrations, certificate and key work, service and access rights changes, system settings and backups. For each task, record the account used, whether that account is shared, and who asks for the change. Use the role descriptions in the Security Server user guide to label each task. The step is done when a complete task list exists and the security lead has reviewed it against the current admin accounts.
Assign an owner to each task
Name one primary owner and one backup owner for each task, and record which role would perform it. Where the same person would both request and approve a change, mark it and assign a second approver. Agree the approval rules in writing before group membership is built, so the directory design follows from those decisions. The step is done when every task has an owner, a backup and an approver, and the security lead signs the matrix.
Create directory groups and membership rules
In your directory, create one group for each of the five X-Road roles, named under your naming policy. Write a membership rule for each group that states who qualifies, who approves additions, and how access ends when someone changes teams or leaves. Keep the groups limited to named administrators. The step is done when a membership export shows only the people approved for each group.
Configure SSSD and PAM on the Security Server
Follow the Security Server installation guide to connect SSSD to your directory and set PAM to authenticate admin users through it. Use a dedicated non-production Security Server or test instance, and leave the production host unchanged until the test passes. The step is done when a test account in the admin group logs in to the admin UI, and failed and successful admin logins both appear in the host logs.
Map directory groups to X-Road roles
Using the role mapping in the Security Server user guide, link each directory group to one X-Road role: Security Officer, Registration Officer, Service Administrator, System Administrator or Security Server Observer. Avoid mapping one group to several roles unless the owner approved it, and confirm in the user guide how overlapping mappings behave. The step is done when a reviewer can trace every group to its role from the recorded mapping alone.
Test each role with a dedicated account
Create one non-production test account per role, placed only in the group for that role. Log in with each account, confirm it reaches only the screens its role allows, then attempt an action outside that role and confirm it is refused. Trigger a failed login on purpose and confirm it appears in the host logs. The step is done when a signed test matrix records a pass or fail for every role and action tested.
Document approval rules and audit evidence
Turn the approval matrix from the second step into a standing procedure: who requests each change, who approves it, and where the approval is recorded. Set a review routine for group membership and for admin login records in the host logs, and name the person who runs it. Store the matrix, the group mapping and the test results with your security documentation. The step is done when a reviewer can trace any admin change from the request and approval to the login that made it.
Deciding who approves what and what auditors will ask to see
Role separation is only half of the control. Splitting the five Security Server roles (Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer) defines who can make a change. It does not define who may ask for one, who must approve it, or where the approval is kept. The organization needs a written matrix with one row per change type, such as registering a new member, changing service access rights, editing security settings or adding an administrator. Each row names the requesting role, the approving role and the record that proves approval, such as a ticket reference. Keep the matrix outside the Security Server so an auditor can read it without logging in to the tool.
Two-person review is a design choice the organization makes. Decide which changes need a second person before they take effect, for example changes to access rights, to keys or certificates, and to who holds a role. Then confirm which approval steps the software enforces and which ones depend on your process. The X-Road Security Server user guide is the starting point for that check, and you should test the result in a non-production environment. Anything the product does not enforce needs a documented procedure, a named owner and a periodic review of the tickets that record approvals. Plan for the case where the requester and the approver belong to the same directory group, because the matrix alone cannot prevent that.
When an auditor reviews this area, they usually ask for four kinds of evidence: the current role assignment list, the history of directory group membership that maps to each X-Road role, the change tickets showing who requested and approved each change, and the admin login logs for the Security Server hosts. Agree the retention period for each with your compliance team before go-live, because the directory and the hosts often keep these records for different lengths of time. Export the role list and group history on a fixed schedule so the evidence exists when the audit starts. DeployOpen prepares the controls and evidence for assessments, including the role matrix and log extracts. It does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations.
Protecting admin accounts once the roles are split
Splitting the Security Server roles only lowers risk if the accounts behind those roles are protected. The cards cover the login policy and SSH settings from the hardening guidelines, the network paths to the admin UI and message exchange ports, and the directory clean-up that keeps each role's membership accurate.
Login lockout and password length
The hardening guidelines recommend locking an account for 15 minutes after 3 failed logins and requiring passwords of at least 16 characters. These controls slow online guessing against the admin accounts behind each Security Server role. Confirm which layer enforces each setting, whether PAM and SSSD on the server or the directory that holds the LDAP groups. Then test a lockout on a staging account, since a policy set in the directory may differ from the one on the host.
Hardening guidelinesKey-only SSH access
Turn off password logins over SSH so each administrator authenticates with a personal key. Without this, a reused or leaked password gives an attacker a path to the host where the roles are enforced. In sshd_config, check that PasswordAuthentication is set to no and that keys are issued per person. Test a new key from a second session before closing the first, so a mistake does not lock every administrator out.
Allowed hostnames check
The allowed-hostnames setting restricts which host names the admin UI accepts, which guards against host header injection. Without it, a crafted Host header can make the UI generate links or redirects that point to a name the attacker chooses. List only the names administrators use, including any load balancer or DNS alias in front of the UI. Then send a request with an unlisted Host header and confirm the UI refuses it.
Keep the admin UI internal
Keep TCP 4000 out of external paths. The installation guide lists TCP 4000 as the admin UI port reached from internal networks. Keep it out of any firewall rule, NAT rule or load balancer listener that faces external networks. Scan TCP 4000 from an outside address to confirm it is closed, then from an approved internal subnet to confirm administrators can reach it. An exposed admin UI puts every login page for the Security Server roles in front of the internet.
Remove dormant group members
Each X-Road role maps to an LDAP group through PAM and SSSD, so remove dormant group members when their duties change or they leave. Review the groups for accounts that have stopped signing in, not only for accounts that have been disabled. A former Registration Officer who stays in the group may still be able to act in that role. Request a membership report from the directory, compare it with the current staff roster, and record who approved each change.
Security Server user guideMessage ports separate from admin access
TCP 5500 carries message exchange and TCP 5577 carries OCSP, both from external networks. Admin access should use a different port and network path, so partner traffic never reaches the admin UI. Check that firewall rules open 5500 and 5577 only to the networks that need them, keep 4000 internal, and confirm the admin hosts are not reachable on the message exchange interface. Store the rule set in version control so every change is reviewed against all three ports.
How hard is it to separate X-Road administrator roles
What does it cost to separate X-Road administrator roles?
The price depends on the written scope, and DeployOpen does not publish a price list. Cost rises with the number of Security Servers, because each node needs its role mapping built and tested. It also rises when the existing directory needs groups created or cleaned up before mapping can start. Approval process design adds effort when registration, certificate and service change approvers must be agreed and written down before configuration. Evidence needs add more work, such as showing who holds which role and proving that each role was tested. Most of this work is one-time: design, configuration, testing and handover. Ongoing review of group membership recurs and is usually owned by your team or covered by a retainer. Ask for each cost line to be listed separately.
How long does it take to separate X-Road administrator roles?
No duration is stated here, and the written scope sets it for each engagement. The main drivers are the number of Security Servers you run, how clean your directory groups already are, and how many approvals must be agreed before anything changes. A member with one Security Server, an existing group structure and a fast change board will move faster than one with several nodes, an untidy directory and a change board that meets monthly. Ask the partner to show the phases, the points where your directory team or change board must act, and the test window. Check that each phase has a named owner and a completion check before you accept the schedule.
What does our team need to provide for role separation?
Your team needs to provide four things before the design starts:
- A directory owner who can create, rename and populate the groups that the Security Server reads through SSSD.
- A security owner who decides which of the five X-Road roles each group receives and signs off the role matrix.
- A change approver who accepts the approval workflow for registration, certificate and service changes.
- Test accounts in each group, plus a non-production Security Server where role changes can be tried first.
Most delays come from waiting for these people, so book their time before the work begins and name a backup for each role.
Can our team separate X-Road admin roles using only the user guide?
Yes, a small member with one Security Server, a directory that already has clear groups and a written approval process can usually follow the X-Road Security Server user guide on its own. The guide describes the five roles, which are Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer, and how PAM and SSSD map LDAP groups to them. The work gets harder when several Security Servers must match, when the directory is shared with other systems, when no one has agreed who approves what, or when auditors will ask for evidence of testing. In those cases, an outside review of the design and a retest before go-live often prevents rework.
Does splitting X-Road admin roles work with several Security Servers in high availability?
Yes, the split can work across several Security Servers behind a load balancer, provided every node maps the same LDAP groups to the same X-Road roles. Each Security Server authenticates admin users through PAM and SSSD on its own host, so a group that exists on one node but not another can give a user different rights depending on which node answers. Confirm that group mapping is consistent on each node by comparing the SSSD configuration and group membership on every server. Then test each role on each node. Record the check in your change log so the next change is verified the same way. Ask the partner how they will prove consistency before cutover, and confirm that the high availability design is named in the written scope.
What should a written quote for X-Road role separation include?
A written quote should describe the scope in terms you can check: the number of Security Servers in scope, the directory system and whether groups must be created, the five X-Road roles and the group each one maps to, and the approval workflow to be designed. It should list each deliverable, such as the role matrix, configuration records, test results for each role and node, and handover notes. Ask which costs are one-time, such as design, configuration and testing, and which recur, such as group reviews and retesting after upgrades. Also ask what assumptions the price depends on, who provides test accounts and directory access, and how a scope change is priced. DeployOpen agrees scope, deliverables and timelines in writing before work starts.
Limits to confirm in your environment
The role split only holds if the platform, release line and permission set in your environment match the design you approve. The cards below list the checks to complete before you rely on it in production. Each one changes who can approve what, so record the results with your change evidence.
Confirm the release line in use
The current X-Road 7 release is 7.8.3, and the supported versions are 7.8.3, 7.7.4 and 7.6.5. Record the exact version on every Security Server, because the role model you approve must match the release that is installed. If a server runs a line outside that list, plan an upgrade before you rely on the split, and confirm the role behavior on the upgraded version in a test environment first.
Releases pagePlan for the end of features
Release 7.8.0, issued at the beginning of February 2026, is the last new-feature release of X-Road 7. NIIS intends to keep maintaining 7.x with bug fixes and security patches beyond 2026, but the length of that period has not been decided. New role features are therefore unlikely on 7.x, so any change to administrator roles would most likely arrive as a patch. Ask how long your release line will receive fixes before you write the approval process around it.
NIIS blog postTreat X-Road 8 as a separate design
X-Road 8 Spaceship is available for testing as 8.0.0 Beta 2, with the production release scheduled for December 2026. It is positioned as a data space solution, and the 7.x role design may not carry over unchanged. Check whether X-Road 8 keeps the same five roles and permissions, then test the registration and approval steps on a beta instance. Note any change in role name, scope or permission before you commit to a process.
Confirm operating system support
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. Build the role test on the same distribution and major version as production, because PAM and SSSD behavior depends on that platform. Treat any other distribution or version as unconfirmed until the operator or NIIS documentation lists it. Record the distribution and version in your change record so reviewers can match them to the test.
Installation guideTest PAM and SSSD group mapping
Admin logins to the Security Server go through PAM, and LDAP integration uses SSSD to map LDAP groups to X-Road roles. Those two layers decide who can approve what, so confirm them on the exact platform you will run. Check that group membership resolves on the server, that each test user reaches only the admin functions of their role, and that removing a user from a group removes that access.
User guideConfirm each role's permissions
The Security Server defines five roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Read the exact permissions of each one in the user guide for your installed version, then write a matrix that shows which role can perform each registration, security and service step. Test every row on a non-production server before you map any directory group to a role.
How DeployOpen scopes and delivers X-Road role separation
DeployOpen approaches separating X-Road administrator roles as a fixed-scope piece of work inside your own infrastructure. We map each of the five Security Server roles to the people who hold them, connect the admin logins to your directory groups, and document who can approve what before anything changes in production.
How we scope
- The written scope names each Security Server, its current admin logins, and the five roles to be separated.
- The scope covers the directory groups mapped to each role and the identity source, such as LDAP via SSSD.
- Fixed-scope terms, agreed in writing before work starts, set deliverables and timelines. Ongoing support can follow as a retainer.
How we build
- Assign Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer to distinct groups.
- Map LDAP groups to X-Road roles through PAM and SSSD, then test that each login is limited to its role.
- Apply the hardening guide's account lockout, password length and key-only SSH settings to the admin hosts during the build.
How we hand over
- A role matrix listing each X-Road role, its directory group, its holders and the approvals it can give.
- Audit expectations for who can approve registration, security and service changes, written so your auditors can test them.
- A runbook for adding, moving or removing an administrator, covering the directory group change and the evidence to keep.
How we support
- Retest role boundaries after upgrades because admin screens or permissions may change between releases.
- Ongoing support and continuous testing are available as retainers for reviewing new admins and directory changes.
- Confirm with your X-Road operator who approves changes to the Central Server and member settings before the roles go live.

