Upgrading an X-Road Central Server to X-Road 8

A manual Central Server upgrade from 7.8 to X-Road 8 is a planned cutover, not a package update. This page covers preparation, HSM and signer state, post-upgrade checks and the rollback points that decide whether the move holds.

On this page

How a Central Server upgrade to X-Road 8 fits the 7.x support window

A Central Server on 7.8 must reach X-Road 8 before the production release, which is scheduled for December 2026, and until then the 7.x line is the only production version your team can run. X-Road 8 "Spaceship" is currently available for testing as 8.0.0 Beta 2, so the production move cannot yet be rehearsed on a released build. The current X-Road release is 7.8.3, and the supported versions are 7.8.3, 7.7.4 and 7.6.5. Treat 7.8.x as the starting line. A Central Server still on 7.6 or 7.7 should first move to a supported 7.8.x release, and the patch level should be confirmed with your ecosystem before the migration is scheduled.

The release line matters because 7.8.0 is the last new-feature release of X-Road 7. NIIS intends to keep maintaining 7 with bug fixes and security patches beyond 2026, but it has not decided how long that maintenance will last. The window therefore has no fixed end date you can plan against. What you can do is schedule the Central Server move against the December 2026 target and keep a supported 7.8.x version in place while the team validates the 8 build. Ask NIIS for its current position in writing before you commit a date, and record the answer in the change plan. The NIIS blog post on X-Road 7.8.0 sets out the release context.

The Central Server procedure is manual, and your own team owns every step of it. That includes the sequence of package and configuration changes, the checks on database and signer state, post-upgrade verification, and the decision to roll forward or back if something fails. Name one owner for the cutover window, document who approves the 7.8.x baseline, and make sure the people who run the Central Server have tested the 8 build on a non-production instance first. Also ask your ecosystem governance contact which 7.x release the federation will hold until your migration completes, because that answer sets how long your 7.8.x patch cycle must run.

What changes for a Central Server moving from 7.8 to X-Road 8

This table compares each area that changes when a Central Server moves from 7.8 to X-Road 8, with the impact on that area and the action to take before scheduling. Read the release, platform and dependency rows first, because they set the environment, and treat the final row as the gate before any cutover window is fixed. The main takeaway is that the schedule should wait until the breaking changes are recorded and the HSM and database checks have passed on a test build.

ChangeImpact on the Central ServerAction before scheduling
Last new-feature 7 release7.8.0 is the last X-Road 7 release with new features. NIIS plans bug fixes and security patches beyond 2026.Confirm your 7.8.x patch level. 7.8.3 is the current release.
8.0.0 Beta 2 status8.0.0 Beta 2 is a test-only build for evaluating the upgrade path.Rehearse the upgrade on a non-production Central Server and record the results.
Production release timingThe X-Road 8 production release is scheduled for December 2026.Confirm the final release date and notes before fixing a cutover window.
Data space positioningX-Road 8 is positioned as a data space solution with improved monitoring and cloud compatibility.Check how monitoring and cloud deployment changes affect your current operations runbooks.
Component platform listCentral Server, Security Server and Configuration Proxy are the components to plan for.Confirm 8 support per component. Current Security Server platforms are Ubuntu 22.04 and 24.04 and RHEL 8 and 9.
HSM (PKCS#11, RSA and EC keys)PKCS#11 drivers through the xroad-addon-hwtokens package support RSA and EC keys in the 7.x guide.Confirm the HSM vendor driver and both key types work with 8 on a test build.
PostgreSQL dependencyThe Security Server requires PostgreSQL, either local or remote, including managed services.Confirm the 8 database requirements, version and backup method for the Central Server.
Breaking changes and deprecationsThese are listed in the X-Road 8 release notes and can change the upgrade steps.Take the list from the 8 release notes and record each item before you schedule the upgrade.

Each cutover phase gates the next, and verification decides the exit

The diagram starts with confirming the current 7.8.x baseline, then builds a non-production test copy of the Central Server. The go or no-go decision follows, checked against the production release status, and a no-go holds the current release in place. On a go, the host, database and HSM or signer state are backed up before cutover. Configuration changes then flow from the Central Server through the Configuration Proxy to the member Security Servers, so verification must cover those consumers as well as the Central Server. Verification leads either to rollback or to roll forward. The boxed HSM trust boundary marks the signer state that must stay protected through every phase.

Phases and decision points of the cutover, with the components each step touches.

Preparing the Central Server upgrade: backups, HSM state and a test copy

Before any package changes, the Central Server needs a restorable copy of its state, a complete record of what it holds, and a rehearsal on a non-production host. The cards follow the order most teams use. The Central Server platform matrix must be confirmed separately, because the supported operating system list in the X-Road facts applies to the Security Server.

Full backup of host and database

Take a full backup of the Central Server host and its database before any package changes. Confirm whether the database is local or remote and who is responsible for backing it up, since the restore path depends on the answer. Capture the host and database at a consistent point and prove the restore on a scratch host before relying on it. Store the copy outside the host being upgraded and restrict access, because it contains keys and configuration.

Inventory of configuration and keys

Record the Central Server configuration, instance identifiers, signing and authentication key locations, and certificate files. Note which keys live in software and which sit on hardware. Compare this inventory with what the upgrade will migrate and what it will leave behind, so nothing depends on an undocumented file. Include the signer state: the signing key in use, any pending key changes, and the time of the last change. Keep the inventory with the backup, since you will use it to verify the upgrade.

HSM driver state and signing tests

On 7.x, hardware security modules are reached through PKCS#11 drivers installed with the xroad-addon-hwtokens package, with RSA and EC keys supported. Record the installed package version, the driver library path, the token label and how the PIN is supplied at startup. Confirm the X-Road 8 equivalent of this package and its driver requirements in the 8 documentation before cutover, because names and install steps may change. Run a signing test against the HSM on the test copy before and after the upgrade.

Non-production test copy

Restore the backup to a non-production host and run the full upgrade there first, timing each step and recording every deviation from the runbook. Start from one of the supported 7.x versions, 7.8.3, 7.7.4 or 7.6.5, as listed on the X-Road releases page. Use an operating system that the X-Road 8 documentation supports for the Central Server. Isolate the copy from live ecosystem peers and production databases so test traffic cannot reach members.

Security hardening review before cutover

Review the X-Road security hardening guidance, version 0.6 dated 09.01.2025, against the Central Server before cutover. The guide recommends locking accounts for 15 minutes after 3 failed logins, passwords of at least 16 characters, key-only SSH, and the allowed-hostnames setting against host header injection. Check each control on the new host and the test copy, since package and configuration changes can reset settings. Record every exception with an owner and a decision date.

Hardening guide

How HSM and signer state carry into X-Road 8

Key material is the highest-risk part of this cutover because the keys that sign and authenticate your Central Server cannot be recreated from a configuration backup alone. X-Road 7.x supports hardware security modules through PKCS#11 drivers installed with the xroad-addon-hwtokens package, for both RSA and EC keys. A cutover can finish with the packages upgraded and the services running, yet still fail at the first signing operation if token access was never verified. Before scheduling the cutover, record the driver package and its exact version, the token label for each HSM token, the key reference that each signing and authentication key uses, and the people who hold each token PIN and can enter it during the maintenance window. Keep this record in your change file rather than only on the server, so it survives a host rebuild.

Do not assume the X-Road 8 documentation loads drivers and keys the way 7.x does. Read the X-Road 8 documentation for how PKCS#11 drivers are installed, how key references are configured, and whether your existing token labels and key references carry over unchanged. Record the answer against each item in your inventory, and raise any gap with the maintainers through the X-Road GitHub repository before the cutover date. Then import the keys into a copy of the Central Server. A failed key import in the test copy is a no-go signal: stop the plan, do not work around it on the production server, and keep the cutover blocked until the cause is understood and the import succeeds on the copy.

Central Server upgrade steps with checkpoints and rollback points

This sequence moves a 7.8 Central Server to X-Road 8 through a rehearsal, a frozen production window, a verified backup and a sign-off, with a named rollback point at each step. Exact commands come from the X-Road 8 documentation for the production release, which this page does not reproduce. Each step closes with a check, so the team knows when it can move on and when it should stop.

  1. Confirm the 7.8 baseline

    Record the Central Server's current 7.8.x release, package versions, global configuration, member and Security Server registrations, and HSM or signer setup. The platform team does this with the security officer, and the record becomes the reference for every later check. Check to pass: the baseline is written down, signed off, and the release is one of the supported 7.x versions listed on the X-Road releases page. Rollback point 0 is not needed yet because nothing has changed.

  2. Rehearse the upgrade on a test server

    Build a test Central Server from a copy of the production configuration at the same 7.8 patch level, with keys and tokens handled as production secrets. Run the full procedure from the X-Road 8 documentation for the production release, then compare the test results with the baseline. Check to pass: configuration, member data and signer state match the baseline, and every deviation has a written fix. Rollback point A: a snapshot of the test host taken before the rehearsal, so each rehearsal starts from the same state.

  3. Freeze production changes

    Stop changes to global configuration, member onboarding, certificates and Security Server settings for the agreed window, and tell connected members what the freeze covers. The operator's change manager approves the freeze in writing, and the service owner confirms that no change is queued. Check to pass: an approved freeze record exists, the queue of pending changes is empty, and a fresh export of global configuration matches the baseline. Rollback point B: that export, kept with the freeze record as the last known good configuration.

  4. Back up and test the restore

    Take a full backup of the Central Server configuration, database and key material, including what the HSM or signer needs to resume. Restore the backup onto a separate host and start the restored instance to confirm it reads the same configuration. Check to pass: the restore completes, the restored configuration matches the baseline, and the backup is stored where the 7.8 host cannot overwrite it. Rollback point C: the verified backup set, which is the fallback if later steps need a database restore.

  5. Install the 8 release from its documentation

    The operator's platform team installs the X-Road 8 production release on the prepared host, following the manual installation steps in the X-Road 8 documentation for that release. Exact commands and package names come from that documentation, which this page does not reproduce, and the team confirms the release version before any service starts. Check to pass: the installed version matches the release notes, required services start, and the 7.8 host remains intact for reversal. Rollback point D: a host snapshot taken before any package change, plus written confirmation from the documentation of when the database migration becomes one-way.

  6. Migrate configuration and key material

    Run the configuration and key migration described in the X-Road 8 documentation, then confirm that the migrated configuration, member list and signing keys match the baseline. The security officer checks hardware token access, and the operator's administrator checks that the migrated instance answers as the Central Server. Check to pass: the exported configuration matches the baseline, the key inventory matches, and HSM access works. Rollback point E: the decision point agreed before installation. Past the one-way point, returning to 7.8 may require a restore from rollback point C.

  7. Verify functions and obtain sign-off

    Run the post-upgrade checks: global configuration download, member and Security Server connectivity in the test scope, certificate status, logs, monitoring and the backup schedule. Record each result against the baseline, and have the security officer and service owner review the results together. Check to pass: every check in the agreed list passes, and the sign-off record names who accepted the upgraded Central Server and when. Rollback point F: a written decision to restore from rollback point C or to roll forward, taken if any check fails before production members are told the upgrade is complete.

Verifying the upgraded Central Server before members depend on it

Verification follows the order in which members will feel the change: the Central Server first, then the configuration members download, then the signing and connectivity paths their Security Servers use. Each check should produce evidence that goes into one sign-off record. Repeat the connectivity tests from member networks, because a successful test on the Central Server does not prove that members can reach the service.

Component and database health

Confirm that every Central Server component touched by the upgrade starts cleanly, stays running under normal load, and writes no recurring errors to its logs after cutover. Check that the Central Server reaches its PostgreSQL database with the expected account, that connection counts stay within the limits you set, and that migrated records load correctly in the admin interface. Treat any restart loop or database connection error as a blocker until its cause is known.

Configuration distribution to members

Confirm that the global configuration the Central Server publishes is the new version, that it is served over HTTPS, and that member Security Servers download and apply it without manual edits. Sample members across different member classes and compare the configuration version each one holds. Publishing global configuration over HTTPS has been supported since version 7.4, so confirm the endpoint your members actually use. A member still holding the old configuration cannot see the migrated services.

Hardening guidelines

Signing test with migrated keys

Run a signed message exchange with each signing key that moved during the migration. Include keys held on a hardware security module through a PKCS#11 driver where your deployment uses one, and cover both RSA and EC keys if your estate has both. Verify each signature against a certificate chain that members trust. A key that appears in the inventory but fails to sign is the failure this test exists to catch, so do not mark the signer healthy until every migrated key has signed a test message.

Member-side port reachability

Member connectivity depends on the Security Server ports. Members must reach TCP 5500 for message exchange and TCP 5577 for OCSP from external networks. From internal networks, TCP 4000 serves the admin UI, and TCP 8080 or 8443 serves information system access. Run these tests from a member network, outside the Central Server's own segment. Each member should confirm reachability from its own side before relying on the upgraded service.

Security Server installation guide

Monitoring checks after cutover

X-Road 8 is positioned with improved monitoring, but confirm which monitoring surfaces your installed release actually exposes before writing alerts against them. The 8.0.0 Beta 2 build is available for testing, and production release is scheduled for December 2026, so check the release notes for the exact build you deploy. Define alerts for service health and failed exchanges, route them to the team that will own them after go-live, and confirm whether any monitoring add-on changes the resource sizing you planned.

Written sign-off record

Close verification with a dated record that lists each check, the person who ran it, the expected result, the observed result, and the evidence attached, such as log extracts, configuration versions and signed test output. Name who may accept the upgraded Central Server and who may reopen it if a member reports a fault. File the record with your change ticket and rollback plan, because any rollback decision depends on what was verified and when. No member should depend on the Central Server until this record is signed.

When to roll back a Central Server upgrade and when to roll forward

Before cutover, the Central Server still runs 7.8, so returning is a matter of restoring a known state. Most of your protection comes from preparation completed before the window opens, so that any later decision has a clean fallback. Prepare the following, then confirm each item works in your environment:

  • Host snapshot: Take a snapshot of the Central Server host with services stopped or quiesced, and record which 7.8 package level it contains.
  • Verified database backup: Back up the PostgreSQL database that holds the Central Server state, then restore it to a scratch environment to prove it works. An unverified backup gives you no fallback.
  • 7.8 packages kept available: Keep the 7.8 packages in a local or mirrored repository so you can reinstall the exact version without depending on public download sites.
  • Key and token records: Document the hardware security module and PKCS#11 driver settings, so you can confirm keys stay reachable under either version.

Before the window opens, also agree on written go and no-go criteria and name who makes the call. Confirm that the person who will run any restore has rehearsed it.

What makes a Central Server upgrade take longer

The table lists the drivers that widen a Central Server upgrade and what each one adds to the work. Read each row as a question to answer for your own environment before you plan or request a quote. Each driver changes scope, so two upgrades starting from the same 7.8 installation can need very different amounts of preparation and testing.

DriverEffect on scopeWhat to confirm
Member Security ServersMore members consuming the global configuration means more post-cutover checks and more parties to notify.Number of member Security Servers, their current versions, and who schedules each member's update.
Custom scripts and integrationsScripts that call the management API or read the database must be inventoried, then reviewed, rewritten or retested.Cron jobs, monitoring hooks, backup scripts and any external system that calls the Central Server.
HSM and signer setupEach token, PKCS#11 driver and key type adds validation work, and signer state must be confirmed before cutover.HSM model, PKCS#11 driver version, whether RSA or EC keys are in use, and vendor support for the target OS.
Database size and backup methodA larger database lengthens backup, restore and rehearsal runs, and the backup method sets which rollback options exist.Database size, PostgreSQL version, whether hosting is local or managed, and a restore procedure tested end to end.
OS and package baselineHosts on an operating system outside the X-Road 8 support list, or with local package changes, need remediation first.Current OS release checked against the X-Road 8 documentation, plus any pinned or custom packages.
Test environment availabilityWithout a staging Central Server built from a recent copy of production, rehearsal and verification steps cannot be proven.Whether a staging copy exists, how current its data is, and who can access it during the change window.
Gap between 7.8 and 8 release notesA wider gap in configuration, interfaces and packaging raises the number of changes to assess and test.Exact 7.8.x patch level in use, and which release note items touch your configuration or integrations.
Change window and sign-off pathApprovals from security, operations and business owners set how much rehearsal evidence is needed before the window opens.Required approvers, freeze periods, and the rollback decision point agreed in advance.

Questions buyers ask about the Central Server upgrade

How much does an X-Road Central Server upgrade cost?

DeployOpen does not publish a price list, so the cost follows from the written scope. The main cost components are an assessment of the current Central Server and its connected Security Servers, preparation of HSM and signer state, configuration migration, a rehearsal in a non-production environment, cutover support, post-upgrade verification and a documented rollback plan. Most of this is one-time project work. Recurring costs come after go-live: support, upgrades and testing if you choose a retainer, plus the hosts, database and HSM capacity you run yourself. Costs rise with the number of Central Server instances, environments, HSMs and member systems that need coordination. Ask each quote for line items per phase, the environments included, the assumptions about the target version and release date, acceptance criteria and a clear list of exclusions.

How long does an X-Road Central Server upgrade take?

The duration follows from the written scope. The X-Road 8 production release is scheduled for December 2026, so any production cutover depends on that date and on your own change calendar. Duration is driven by the number of Central Server instances and environments, the complexity of your HSM and signer setup, how many connected Security Servers and member organizations need coordinated testing, how many test cycles your governance requires and how many change windows you can use. Ask for a milestone plan with the entry and exit criteria for each phase, and a list of dependencies outside the project, such as ecosystem coordination or hardware lead times. Confirm the current release status on the X-Road releases page before you fix a cutover date.

What does the upgrade need from our internal team?

The upgrade needs named owners and time for access, decisions and approvals, and this is usually the main constraint. Typical roles include a Central Server administrator, a database owner, the person responsible for HSM and signing key custody, a security approver, a change manager and whoever coordinates with connected organizations. The team must provide access to the current hosts, database and HSM, approve the target configuration and rollback criteria, sign off test results and stay available during cutover and the first days after it. Decisions that must come from your side include the target version, the acceptable downtime and who can call a rollback. Ask the provider to list every decision and approval the plan assumes, with the role that owns each one.

Can our own team upgrade the X-Road Central Server alone?

A capable internal team can perform the upgrade alone, provided it has the right skills and a rehearsal environment. The work touches Linux administration, PostgreSQL, PKCS#11 hardware security modules and the X-Road configuration itself, so check that your engineers have hands-on experience with each. The main risk is an error during cutover, because a Central Server problem affects every member that depends on it. A team working alone should build a non-production copy of the current system, rehearse the full procedure at least once, write down the rollback steps with clear decision points and agree in advance who can stop the cutover. Use the 8.0.0 Beta 2 build as a test target for rehearsal, since it is available for testing and the production release is scheduled for December 2026. A short skills review shows whether the gaps are small enough to close in-house.

Should we wait for X-Road 8 to mature before upgrading?

Waiting carries its own risk, so start preparation now and time the cutover after the production release and your own test cycle. X-Road 8.0.0 Beta 2 is available for testing, and the production release is scheduled for December 2026. X-Road 7.8.0 is the last new-feature release of the 7 line, the current release is 7.8.3, and 7.8.3, 7.7.4 and 7.6.5 are the listed supported versions. Much of the work is the same whichever version you target: an inventory of the current Central Server and connected systems, HSM and signer checks, configuration review, and backup and rollback planning. Doing that work now shortens the path after the production release. Whether to cut over early, at launch or later depends on your ecosystem's upgrade policy and your own risk appetite, so check that policy with your ecosystem operator before setting a date.

What happens when X-Road 7 maintenance ends?

No end date is published yet, because NIIS has not decided how long X-Road 7 maintenance will last. NIIS intends to keep maintaining X-Road 7 with bug fixes and security patches beyond 2026, and 7.8.0 is the last new-feature release of that line. In practice, feature development stops now, and the length of security support remains open. If security support ends, your team carries patching and vulnerability response alone, which raises operational and compliance exposure. Plan for this by keeping your 7.8.x servers on a current patch level, tracking the NIIS announcement for 7.8.0 and asking your ecosystem operator which X-Road versions it will accept for connected members. Treat the undated end of support as a planning risk, and set a written trigger for starting the upgrade if the policy changes.

How do fixed scope and retainers work for upgrade projects?

Most engagements are fixed-scope, and the scope, deliverables and timelines are agreed in writing before work starts. Ongoing support, upgrades and continuous testing are available as retainers, so the upgrade project and any post-go-live service are usually separate agreements. The one-time cost covers the agreed phases of the upgrade, while a retainer is a recurring cost for work you may call on after the project. Ask for these points in writing: what counts as complete, the acceptance criteria, what is excluded, how a change request is priced and approved, how a delay caused by an external release date is handled and whether post-upgrade verification and rollback support sit inside the fixed scope or a retainer. With those terms in writing, you can compare each quote with your internal estimate line by line.

How DeployOpen scopes and runs a Central Server upgrade

DeployOpen treats a Central Server upgrade to X-Road 8 as a fixed-scope engagement that starts with an inventory of your 7.8 installation, its signing keys and HSM state, and its configuration. Work is planned in writing, documented step by step, and handed over so your team can run, review and support the upgrade in infrastructure you control.

How we scope

  • The written scope lists which Central Servers, environments and member-facing components the upgrade covers, agreed before work starts.
  • Scope records the current 7.8.x version, the database, and where the signer keys and any hardware security module sit.
  • Confirm the target release in writing: 8.0.0 Beta 2 is for testing, and production is scheduled for December 2026.

How we build

  • Inventory signer state and HSM configuration, including PKCS#11 drivers and RSA or EC keys, before any package changes.
  • Migrate configuration in a non-production copy of the Central Server first, then compare the result with the source system.
  • Record rollback points, such as a host snapshot and database backup, and test that each restores before cutover.

How we hand over

  • A written runbook covers each upgrade step, the commands run, the checks performed and the rollback decision points.
  • A post-upgrade verification record shows configuration state, signer and key status, and the connectivity checks agreed in scope.
  • Your team receives the documentation and evidence for change records and for review by your auditors or assessors.

How we support

  • Support, upgrades and continuous testing are available as retainers, and can be scoped after cutover.
  • Check NIIS guidance on X-Road 7 maintenance before fixing a cutover date, since its length is not yet decided.
  • Confirm whether a retainer includes retesting when X-Road releases change, since X-Road 8 production is still ahead.

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.