TLS between information systems and the X-Road Security Server

Securing the leg between your applications and the X-Road Security Server means choosing HTTP or HTTPS, deciding how clients authenticate, and managing certificates your team must renew and rotate.

On this page

How TLS between information systems and the X-Road Security Server fits X-Road

A team that connects an internal application to X-Road needs to know which traffic is protected on the internal leg before the application goes live. In this setup, the Security Server sits between the application and the external exchange. The application talks to the Security Server on the internal network, and the Security Server carries messages outward to other members. For information system access, the Security Server listens on internal ports 8080 or 8443. Choosing HTTP on 8080 or HTTPS on 8443, and deciding whether the application authenticates with a client certificate, are decisions your team owns. Treat each choice as part of the application's design, and record it per application.

Teams usually need this topic in three situations: several applications share a network segment with the Security Server, an audit or security review asks how traffic between the application and the Security Server is protected, or an information system cannot stay on plain HTTP. In the first case, list every application and the port it uses, then check which internal networks can reach 8080 and 8443, because the Security Server accepts information system traffic on those ports from internal networks. Restrict access to the admin UI on TCP 4000 separately, since administrators and application traffic have different needs. An inventory like this gives reviewers a concrete record to check.

Before you fix the design, confirm three things against your own environment and the vendor documentation: which port and protocol each application's connection will use, whether the application can present and manage a client certificate, and whether your firewall and network policy match the port list in the Security Server installation guide. Plan for an information system that cannot change protocol. It may need to stay on plain HTTP in a segment you control, and that exception should be documented with the controls that compensate for it. Revisit the decision when you upgrade, because the choices you make now will shape your test plan.

Where the internal TLS decision sits in the request path

The request starts in the consumer's information system, which calls its own Security Server on the internal network over HTTP on port 8080 or HTTPS on port 8443. That internal hop is where the TLS choice applies, so the diagram marks the consumer's internal network as the trust boundary. The Security Server then sends the message over port 5500, the message exchange port reachable from external networks, to the provider's Security Server. The provider's Security Server passes the request to the provider's information system on the provider's internal network. The admin UI on TCP 4000 is a separate internal interface for administrators and sits outside the message path. Confirm which internal port and protocol each information system uses before you choose a mode.

Request path from consumer system to provider system, with the internal trust boundary marked.

Choosing HTTP or HTTPS for information system access

This table compares plain HTTP on port 8080 and HTTPS on port 8443 for traffic from information systems to the Security Server, with client certificate authentication as a separate layer. Read each row against your network zones and your change plan for the application. The main takeaway is that the choice depends on whether the segment between the application and the Security Server is trusted, and both options still need vendor documentation checks before you commit.

Decision pointHTTP on port 8080HTTPS on port 8443
Network conditionsFits when the application and Security Server sit on a segment that the organization already isolates and trusts end to end.Fits when traffic crosses a segment or zone that the security team does not treat as fully trusted.
Application team changesPoint the client at the Security Server's internal address on port 8080 using plain HTTP. Confirm the exact URL form in vendor docs.Point the client at port 8443 using HTTPS and add the Security Server's internal TLS certificate to the client trust store.
Security team reviewConfirm that plain traffic on the internal segment is allowed by policy, and that only approved application hosts can reach port 8080.Review the internal TLS certificate's issuer, renewal process and key storage, and limit which hosts can reach port 8443.
Client certificate authenticationConfirm in vendor docs whether client certificate checks can be enabled on port 8080 before designing the client side.Adds a check that the calling system presents a certificate the Security Server accepts. Confirm the supported setup in vendor docs first.
Confirm before committingPort and listener settings in the installation guide for your release, and whether plain HTTP is supported there.Port and listener settings in the installation guide for your release, and how the internal TLS certificate is provisioned and renewed.
Main trade-offLess setup on the application side, but traffic on the segment is readable by anyone who can observe it.More setup and certificate upkeep, in exchange for traffic on the segment being encrypted in transit.

What client certificate authentication changes for application teams

Client certificate authentication means the information system holds its own certificate and presents it to the Security Server when it connects on the internal network, so the Security Server can identify the calling system before it forwards a request. For application teams, the first change is ownership. The certificate is issued and renewed through a process agreed with the Security Server administrators and the certification authority your organization uses, and the application owner needs to know who that is. Confirm who issues, signs and renews these certificates, and how each request is approved, before the first system goes live. The exact certificate checks, accepted formats and configuration settings depend on the installed version, so confirm them in the Security Server user guide and the installation guide for that same version.

Expiry is where the operational burden lands. A lapsed certificate may first appear as rejected calls from the Security Server or as a stalled batch job, so confirm which alerts exist before relying on them. Agree a rotation runbook with the Security Server administrators that covers how the new certificate is generated, how it is installed, whether the old and new certificates can be valid together during the switch, how the connection is tested and who signs off the change. Test that sequence in a non-production environment first. Each rotation also touches the application's deployment, its secrets store and its monitoring, so it needs a named owner and a date on the team calendar.

An inventory is what makes rotation manageable. For every information system that calls a Security Server, record the system name, the owning team, the certificate subject and issuer, the expiry date, where the private key is stored, which Security Server it connects to and which services depend on it. Keep the inventory in a system your team already reviews, such as its configuration or asset records, and update it when a system is retired, moved or redeployed. Decide now who owns the inventory and who updates it when an application changes hands. The inventory also gives your compliance and security teams a current answer to which systems can call your services and with which credentials.

Configuring HTTPS for information system access to the X-Road Security Server

This sequence secures the internal leg between your applications and the X-Road Security Server, so each information system connects over an encrypted and checked connection on the internal network. It produces a recorded protocol and port per application, certificates that each side trusts, and test evidence from every internal caller. The admin UI on TCP 4000 is configured separately and falls outside this sequence.

  1. Confirm the internal zone and connecting applications

    Start by listing every application that calls the Security Server, the internal network segment each one sits on, and the service each one consumes. The network team confirms which subnets can reach the Security Server's information system port, and each application owner confirms its protocol support and certificate handling. Record this in a single table so later steps share one source of truth. Done when every caller has a named owner, a subnet and a service, and the firewall rule for the internal port matches that list.

  2. Choose HTTP or HTTPS for each application

    Decide, application by application, whether traffic runs over plain HTTP or HTTPS. HTTPS is the usual choice where the internal network is not fully trusted or where your auditors expect encryption on every hop. Plain HTTP may be acceptable only on an isolated segment that your policy explicitly allows. Record the port each application will use, since the Security Server accepts information system traffic on 8080 or 8443 from internal networks. Confirm in the installation guide which of these ports carries which protocol in your version. Done when each application has a recorded protocol and port and the security owner has approved any plain HTTP exceptions.

  3. Prepare the internal TLS and client certificates

    Create or obtain the certificate the Security Server presents on the internal listener, plus the certificate each information system presents if you use client certificate authentication. Issue them from the internal CA your policy names, with subject names that match the hostnames applications will use. Keep each private key on the system that uses it and in the application's secret store only. If you plan to use a hardware security module, confirm PKCS#11 support for your key type in the installation guide before ordering keys. Done when each certificate chain validates against its CA and every expiry date is in your certificate inventory.

  4. Install certificates and CA trust on the server

    Install the internal TLS certificate and its private key on the Security Server. Then add the issuing CA chain to the trust store the server uses for information system clients. Set file permissions so that only the service account can read the private key, and reload or restart the service as the installation guide directs for your version. Check the result from another host with a TLS client such as openssl s_client, confirming the server presents the expected subject and that the chain verifies against your CA. Done when the handshake succeeds on the internal port with the expected certificate.

  5. Configure the listener and client settings

    In the Security Server configuration, set the information system listener to the protocol chosen in step two and bind it to the internal interface only. Record each permitted information system client in the configuration the user guide describes for your version, so the server accepts requests only from listed callers. The admin UI on TCP 4000 is configured separately, so make no changes to it in this step. Done when the configuration is saved, the listener shows the expected port and protocol, and the service log shows no startup or certificate errors.

  6. Configure each application's trust and certificates

    Each application must trust the CA that issued the Security Server's internal certificate. If client certificate authentication is in use, the application must also present its own certificate and key. The application owner makes these changes in the product's own configuration or truststore, and the exact steps differ between products. Restart the application as needed. Done when the application starts without certificate errors and a test session completes the TLS handshake with the Security Server.

  7. Test a request from each internal system

    From each internal system, send a test request to the Security Server on the expected port, using the protocol and certificate you configured. Confirm that the TLS handshake completes, the response is the expected X-Road reply, and the request reaches the intended service. Then send a request from a host that is not on the allowed list, or one without a valid client certificate, and confirm the server refuses it. Done when every approved caller succeeds and every unlisted caller is refused on the expected port.

  8. Check logs and record the evidence

    Review the Security Server logs for the test requests and the rejected attempts. Confirm that each request is recorded with the expected client identity and result. Check that no private key or secret appears in logs or configuration exports. File the configuration, the certificate inventory and the test results with the change record, so that each connection can be traced later. Done when the logs show every test outcome, the rejected requests are visible, and the evidence is filed with the change.

Security risks on the internal leg and the controls to set

The internal leg carries information system requests into the Security Server, so it inherits risks from the network, host name checks, the admin interface and key storage. Each card names one risk, the control to set and how your team verifies it. No single control removes its risk, so re-run these checks after every network, DNS or firewall change.

Plaintext traffic on shared segments

If the information system and the Security Server share a network segment with other hosts, requests sent over plain HTTP on port 8080 can be read or altered by anything on that segment. Set HTTPS on port 8443 for information system access and close port 8080 to networks that do not need it. Verify by capturing traffic on the segment during a test request, and by confirming from another host that port 8080 no longer answers. Check the connection URL in each client application too, since one leftover http:// address keeps plaintext in use.

Security Server installation guide

Host header injection

The Security Server answers requests addressed to the host names it is configured to serve. A request with an unexpected Host header is a common way to probe how a service builds URLs and routes requests. Set the allowed-hostnames setting to the names your information systems actually use, as the hardening guide describes. Verify by sending requests with an unlisted Host header from an internal host and confirming they are refused, then review the list after each DNS or load balancer change.

Hardening guidelines

Lockout after failed logins

Admin accounts on the Security Server authenticate through PAM, and LDAP-backed accounts reach PAM through SSSD. Without a lockout rule, repeated password guesses against the admin interface face no pause. The hardening guide recommends locking an account for 15 minutes after 3 failed logins. Verify by running a deliberate failed-login sequence against a test admin account, timing the lock and the unlock, and confirming the same rule applies to directory accounts, since enforcement may sit in a different layer for LDAP users.

Security Server user guide

Admin access over TCP 4000

The admin UI listens on TCP 4000, and any host that can reach that port can attempt to log in. Restrict TCP 4000 to the administrators' management network and block it from application segments and general user networks. Verify by testing the port from an application host and from a non-admin workstation, where you expect no connection, then from the admin network, where you expect the login page. Repeat these tests after firewall changes, because a broad rule added for another purpose can reopen the port.

Signing and TLS key storage

Signing and TLS keys stored as files on the Security Server are only as protected as that host and its backups. Where policy requires hardware-backed keys, X-Road supports hardware security modules through PKCS#11 drivers using the xroad-addon-hwtokens package, with RSA and EC keys. Confirm with your security team whether HSM-backed key storage applies to your organization. Verify that keys appear under the hardware token in the Security Server and that your backup and restore procedure covers the token, not only the host.

Installation guide

Which X-Road version to plan the TLS setup against

Plan the internal TLS setup against the X-Road release that your Security Server runs, and confirm that version on every Security Server before you write any configuration. The current release is 7.8.3, and 7.7.4 and 7.6.5 are also supported, so a 7.x estate will normally sit on one of those three. Check the X-Road releases page for the current list, because support status changes over time. If your members run different 7.x versions, record each server's version separately, since the TLS steps you follow may differ between releases.

Version 7.8.0 is the last new-feature release of X-Road 7. It was released at the beginning of February 2026. NIIS intends to keep maintaining X-Road 7 with bug fixes and security patches beyond 2026, but the length of that maintenance period has not been decided. Ask NIIS or your vendor for a committed support window before you set a multi-year plan on 7.x. Then open the internal TLS settings in the documentation for your exact installed version, starting with the Security Server installation guide. That guide lists TCP 8080 and 8443 as the information system access ports on the internal network, which is where your applications connect.

X-Road 8 Spaceship is available for testing as 8.0.0 Beta 2, with its production release scheduled for December 2026. Treat that date as a schedule to confirm, since it can move. Do not build long-lived TLS standards around a beta. Certificate profiles, trusted certification authority choices and internal listener settings should stay tied to 7.x until 8 reaches production and its documentation is final. If your team wants early visibility, test your application TLS design against 8.0.0 Beta 2 in a non-production environment, and log every difference from 7.x as an input to your upgrade decision.

Limits to confirm in your environment before the design is final

The internal TLS design depends on details that vary by X-Road version, operating system, client library and network layout. Treat each card below as a question to answer in a test environment before the design is final, because the answers decide which internal TLS options are available to you.

Is HTTPS on port 8443 available?

The Security Server accepts information system traffic on 8080 or 8443 from internal networks, so the first question is which of these the installed version serves over HTTPS. Confirm whether the HTTPS listener on 8443 is enabled by default or needs configuration on your release, and whether it is reachable only from the subnets where your applications run. If HTTPS is not available in your version, the design must either move the internal leg to a different protection layer or change the release plan.

Security Server installation guide

Which certificate algorithms are accepted?

The internal TLS certificate must match what the Security Server and your applications both accept, and the two sides often differ in their defaults. Confirm which key types and signature algorithms the installed version accepts for the internal TLS certificate, including RSA key sizes and EC curves. Check whether the server rejects any algorithm your client libraries offer by default, and record the answer in the design, because a mismatch often appears only as a handshake failure after go-live.

Can an HSM hold the TLS key?

X-Road supports hardware security modules through PKCS#11 drivers with the xroad-addon-hwtokens package, for RSA and EC keys. Confirm whether the internal TLS key can live on that token in your version, or whether it stays as a file on the Security Server. Also confirm who administers the module, how the key is backed up, and how a failed HSM affects the internal listener, since those answers change the recovery plan.

How client libraries trust the CA

Each information system that calls the Security Server uses its own HTTP client library, and each library decides which certificate authorities and client certificates it trusts. Confirm that the library in each application accepts the chosen CA chain, can present the client certificate in the format you issue, and reads a custom trust store without a code change. Test with the library versions you run in production, because a library upgrade can change this behavior.

How renewal is automated or scheduled

Internal TLS certificates expire, and an expired certificate stops every information system that calls the Security Server, so renewal needs an owner and a date. Confirm whether your version can renew the internal certificate automatically, or whether a person must generate a request and install the result. Then confirm how each application picks up the renewed certificate, since some clients cache trust material until they restart.

Clustered servers and load balancers

When several Security Servers sit behind a load balancer, every node must present a certificate the applications accept, and the balancer must pass TLS through or terminate it in a way that keeps the client identity intact. Confirm whether each node can hold the same internal TLS certificate, how the balancer health checks the HTTPS listener, and where client certificate checks happen. Test failover with one node stopped, since a single misconfigured node can fail only part of the traffic.

Questions teams ask before hiring help on X-Road Security Server TLS

What drives the effort and cost of this TLS work?

The main drivers are how many information systems connect to the Security Server, how many certificates must be issued, renewed and tracked, how many network zones the traffic crosses, how far the client libraries differ, and how mature your existing PKI is. Effort rises when:

  • each system needs its own certificate profile, trust chain or key handling
  • systems sit in several zones with separate firewall rules or load balancers
  • client libraries handle client certificates, CA bundles and hostname checks in different ways
  • there is no PKI, or the PKI has no documented templates, revocation process or owner

Effort falls when the systems are few, share a library and use a documented internal CA. Ask any quote to show the effort split by these drivers, and separate one-time setup from renewal work.

What do we need to provide before TLS work starts?

Start with network diagrams that show each information system, the Security Server and the path between them, along with the firewall rules that apply. You also need named application owners who can test changes and confirm which endpoints must use HTTPS. The certificate authority decision comes early: choose whether certificates come from your internal CA, a managed service or another approved authority, and name who approves issuance. Finally, agree change windows for each system, since client-side changes often need a restart or configuration reload that affects users. Share these inputs before scoping so the written scope reflects the actual dependencies.

Can our internal team set up these TLS connections alone?

Yes, an internal team can do it alone when the set of applications is small, each application uses a documented PKI, and someone on the team is comfortable with certificates and Linux administration. Your team can handle the routine work: generating certificate requests, installing certificates and testing each connection. Have a second reviewer check the settings before go-live, including the TLS protocol versions, the certificate chain, hostname validation, the internal TLS certificate on the Security Server and how admin access is restricted. If the estate is large, mixed or has no clear PKI owner, a partner review or a full build usually saves more time than it costs.

How long does a TLS setup for information systems take?

The duration depends on the scope agreed in writing, so no single figure applies to every environment. The scope sets how many systems, network zones and CA steps are involved, and whether the work includes testing, documentation and handover. Ask for a timeline with each milestone tied to an input you control, such as the CA decision, application owner tests and change windows. Delays most often come from waiting on those inputs before the Security Server configuration begins, so confirm each owner and date during scoping.

What recurs after information system TLS goes live?

Certificate renewal and rotation recur for every information system and for the internal TLS certificate on the Security Server. Decide who owns each renewal, how far ahead it starts and how the new certificate is deployed without an outage. Access also needs regular review. When an application changes its hostname, endpoint, client library or owner, check that the Security Server still matches the intended clients and that the right certificates are trusted. Record these checks in a runbook so the next person can repeat them, and ask any partner to hand over the runbook and renewal schedule as part of the deliverables.

Does DeployOpen issue the TLS certificates for our systems?

No. DeployOpen configures and documents TLS for information systems inside your PKI, but certificates come from your internal CA or another authority you select. DeployOpen can prepare the configuration, the certificate requests and the records your auditors will ask for, such as the settings in place, who approved them and how renewals run. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments, so confirm with your auditor which evidence they expect before scoping.

How DeployOpen scopes and delivers the internal TLS work

DeployOpen treats the internal leg between your applications and the X-Road Security Server as part of the same design as the Security Server itself. Each engagement starts from a written scope covering which information systems connect, how each one authenticates, and where certificates are issued and stored, then builds and tests that configuration in your own infrastructure. The result is documented so your security and operations teams can review and run it.

How we scope

  • The written scope lists each information system calling the Security Server and whether it uses HTTP or HTTPS.
  • Client certificate authentication is scoped per system, with the owner of each certificate named before the build starts.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.

How we build

  • Configure internal access on port 8080 or 8443, and limit which hosts can reach it.
  • Install the internal TLS certificate and each system certificate, using PKCS#11 hardware security modules where your scope requires them.
  • Test each system's HTTP and HTTPS calls, including rejected connections with missing or untrusted client certificates.

How we hand over

  • Handover includes the configuration record, certificate inventory with owners and renewal dates, and the test results.
  • Runbooks cover certificate renewal, trust chain updates and what to check when an information system's TLS handshake fails.
  • Evidence for security reviews, such as hardening settings and access records, is organized for your compliance team.

How we support

  • Retainers can cover certificate renewals, Security Server upgrades and retesting after a new information system is connected.
  • Retesting follows a change to the internal TLS settings, a hardening baseline update or a new client system.
  • Ask for response expectations and certificate ownership to be written into the scope before signing.

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.