Pre-installation guide - Next Gen Identity Server

This guide lists what to prepare before installing the Next Gen Identity Server.

Overview

The Next Gen Identity Server is an OAuth2/OpenID Connect authentication and authorization service. It is built on Duende IdentityServer 7. It runs as an ASP.NET Core 10 application hosted under IIS. It manages user authentication for Relativity Server environments. This guide covers what you must verify, configure, and provision. Complete these steps before running the installer.

Install the Next Gen Identity Server on existing or dedicated web servers. If you install on dedicated web servers, you need a domain name. See Product Overview for the deployment options.

Choose where to install

You can install the Next Gen Identity Server in two ways. Use existing Relativity web servers or dedicated web servers. Both are supported. The best choice depends on your environment size, availability needs, and maintenance approach. Use the following guidance to decide. It describes what to weigh and is not a strict rule. For tier definitions, see Tier level definitions in the system requirements.

Environment Recommendation
Tier 1 Install it on one existing web server. For load-balanced existing web servers, install it on all of them.
Tier 2 Install it on a dedicated web server. For load-balanced dedicated web servers, install it on all of them.

Existing web servers

We recommend this option if all of the following apply:

  • Your environment is Tier 1.
  • Your web servers have spare capacity when most users sign in.
  • You want fewer servers to build, patch, and maintain.
  • You can run Identity Server maintenance during web server maintenance windows.
  • You want to avoid registering additional servers with Relativity Secret Store.

Each load-balanced web server needs the Next Gen Identity Server. Install it on every web server behind the load balancer. If you install on only one web server, change the IdentityProviderURL instance setting. Set it to that server's address. Do not use the load balancer's address. The installer writes the address from the RelativityInstanceURL instance setting. You must change the value yourself. Users cannot sign in when that server is unavailable.

Dedicated web servers

Dedicated web servers run IIS and the Next Gen Identity Server only. They are web servers, but not Relativity web servers. You do not run the Relativity installer on them.

We recommend this option if any of the following apply:

  • Your environment is Tier 2.
  • More than 100 users sign in at about the same time. For example, review teams start a shift together.
  • Your web servers already serve close to 50 users each. Relativity is tested for that load per web server.
  • You want to patch, restart, or upgrade the Next Gen Identity Server. You want to do this separately from Relativity.

If sign-in availability is critical, use two or more dedicated web servers. Put them behind a load balancer.

Dedicated web servers need a domain name. They also need a TLS certificate issued to that name. Every Relativity web server must trust that certificate. Relativity forwards sign-in requests to the dedicated web servers. After installation, set the IdentityProviderURL instance setting to https://[domainname]/Relativity.IdentityService/. For more information, see Deployment option and domain name.

For hardware requirements, see System requirements.

System requirements

The Next Gen Identity Server requires the system configuration in the System requirements.

The installer does not download prerequisites. Pre-install the following on each web server before you run the installer:

  • ASP.NET Core Hosting Bundle for .NET 10 - verify with dotnet --list-runtimes. Expect a Microsoft.AspNetCore.App 10.0.x entry.

Stage the download on each web server before you run the installer.

Prerequisites

Complete all the following checks on each web server before running the installer.

Install the Next Gen Identity Server on existing or dedicated web servers. Do not install it on the SQL Server host. Do not install it on the Relativity primary server.

The IdentityProviderURL instance setting might already point to a different identity provider. In that case, you can skip installing the Next Gen Identity Server. If you install anyway, the installer asks whether to replace the existing value. Click No to keep it.

Deployment option and domain name

Confirm which deployment option you are using.

  • Existing web servers: The web servers already host Relativity. No additional domain name is required. The installer uses the host name in the RelativityInstanceURL instance setting. This applies to any number of web servers. A load balancer is optional. Confirm that RelativityInstanceURL holds the address users use to reach Relativity. Do not use the name of one web server.

  • Dedicated web servers: You need a domain name. Confirm the following:

    • A domain name is available - for example, identity.yourcompany.com.
    • The domain name resolves in DNS to the dedicated web server. With a load balancer, it resolves to the load balancer instead.
    • If you use a load balancer, it forwards HTTPS traffic on port 443. It sends the traffic to every dedicated web server.

    After installation, update the IdentityProviderURL instance setting to https://[domainname]/Relativity.IdentityService/. See the Installation guide.

Host names users reach Relativity by

The Next Gen Identity Server sends users back to Relativity. It does so only at a trusted host name. Before you install, list every host name that users type to open Relativity:

  • The URL in the Relativity.Core / RelativityInstanceURL instance setting.
  • The name of each web server on the Servers tab.
  • Any other name. Examples include a disaster-recovery name, a short name, or an internal name. Also include a load balancer name that differs from the instance URL.

The first two work without configuration. You add the others to an instance setting after installation. See Trusting additional Relativity host names in the post-installation guide.

.NET

Verify that the .NET 10 Hosting Bundle is correctly installed.

  • Confirm the ASP.NET Core 10 runtime is installed by running:

    Copy
    dotnet --list-runtimes

    Expected: a Microsoft.AspNetCore.App 10.0.x runtime entry.

IIS

Verify the following IIS requirements.

  • IIS is installed and the Default Web Site exists and is running.
  • Confirm that the Application Development feature set is enabled. ASP.NET Core hosting requires the ASP.NET Core Module for IIS.

SQL Server / database

Verify the following SQL Server requirements.

  • The EDDS database exists on a reachable SQL Server instance.

  • TCP port 1433 is open. Open it between each web server and the SQL Server host. For named instances, open the named instance port as well.

  • The EDDS database has been upgraded to Relativity Server 2026. The Server 2026 (26.0) EDDS upgrade creates database objects. The Next Gen Identity Server requires these objects. See Database details. To verify, run the following query against the EDDS database:

    Copy
    SELECT * FROM sys.procedures WHERE name = 'SaveDeploymentLog'

    If the query returns no results, complete the Relativity Server 2026 upgrade first.

Relativity Secret Store

Confirm the following before installation:

  • Relativity Secret Store is accessible from each web server.
  • Dedicated web servers: register each server as a Secret Store client. Do this before installation. The installer authenticates to Secret Store with the Relativity machine certificate. The registration provides this certificate.

Service account

Confirm the following service account requirements.

  • A Windows account is available for the Identity IIS application pool. It can be a domain or local account. Use the Relativity Service Account (RSA). It is the same account that other Relativity server roles use. We recommend it.
  • If you use a different account, it must be a valid, non-expired domain or local account.
  • The account has the Log on as a service permission. Without it, the installer stops with a service account validation error. To grant the permission, open secpol.msc. Select Local Policies > User Rights Assignment > Log on as a service. Add the account. Use DOMAIN\username format for domain accounts, or .\username for a local account.

Network and firewall

Verify the following network and firewall requirements.

Port Protocol Direction Purpose
1433 TCP Outbound SQL Server (EDDS database)
443 HTTPS Inbound Browser access to the Next Gen Identity Server
8200 HTTP Outbound OpenTelemetry Collector (OTLP endpoint). Required only if Environment Watch is deployed.
  • All ports in the preceding table are open on the host-based and network firewalls.
  • For named SQL Server instances, the named-instance port is also open.
  • A load balancer or proxy might front the web servers. If so, configure the SupportXForwardedFor and XForwardedForTrustedProxies instance settings (section kCura.EDDS.Web). With these settings, sign-in audits record the signing-in person's IP address. Trusted IP checks do the same. Without them, these records show the load balancer's address.

Port 8200 (OTLP). This port is required only if Environment Watch is deployed in your environment.

Certificates

Confirm the following certificate requirements.

  • A valid TLS/HTTPS certificate is available with the following properties:
    • Issued to: the fully qualified domain name (FQDN). Client browsers use it to reach the Next Gen Identity Server. For dedicated web servers, this is the domain name - for example, identity.yourcompany.com.
    • Issued by: your corporate CA or a public CA. Do not use the Relativity CA. Client browsers do not trust it, and it causes TLS errors on sign-in.
    • Installed in:Local Computer > Personal (LocalMachine\My) certificate store on each web server.
  • A corporate CA might issue your TLS certificate. If so, import its root certificate. Use the Trusted Root Certification Authorities store. Do this on all machines that access the Next Gen Identity Server endpoint. For dedicated web servers, this includes every Relativity web server. Relativity forwards sign-in requests to the dedicated web servers. Windows trusts public CA certificates by default.

Configuration before install

Complete the following configuration steps before running the installer.

1. Confirming IIS site bindings

The installer does not create or modify IIS site bindings. Confirm the following on Default Web Site on each web server before installation:

  • An HTTPS binding on port 443 exists on the Default Web Site.
  • The TLS certificate assigned to that binding is issued to the FQDN that client browsers use to reach the Next Gen Identity Server.

2. Confirming service account permissions

The installer creates C:\Program Files\Relativity Identity Service\ during installation. You do not need to create directories or grant permissions in advance.

Database details

The Next Gen Identity Server uses the following objects in the EDDS database. The Relativity Server 2026 (26.0) EDDS upgrade creates them. You do not create these objects. Confirm the EDDS upgrade is complete. Do this before you run the installer. Use the SQL check in the SQL Server / database prerequisites section.

Object Name Purpose
Table [eddsdbo].[DeploymentLogs] Records each installation, upgrade, and uninstallation.
Stored procedure [eddsdbo].[SaveDeploymentLog] Writes deployment records.
Table [eddsdbo].[PersistedGrant] Stores sign-in state. Any web server can then complete a sign-in.
Table [eddsdbo].[DataProtectionKeys] Stores data protection keys shared by all web servers.
Table [eddsdbo].[OneTimeEmailCode] Stores two-factor email codes. Any web server can validate them.

If [eddsdbo].[DeploymentLogs] or [eddsdbo].[SaveDeploymentLog] is missing, the installer completes the deployment. It cannot write the deployment record. Complete the Relativity Server 2026 EDDS upgrade, or contact Relativity Support.

Known incompatibilities

The following configurations conflict with the Next Gen Identity Server installer.

  • Existing /Relativity.IdentityService IIS application or Identity Application Pool: The installer creates these resources. It replaces any existing resources with the same names. Do not use these names for other applications.
  • .NET versions earlier than 10.0: The service targets .NET 10 only. Older .NET or .NET Framework runtimes do not interfere. This applies on the same IIS instance. The Identity Application Pool must use no managed runtime (""). Do not configure it to use a .NET Framework version.
  • 32-bit (x86) hosts: The installer and service are 64-bit only. They require a 64-bit OS and a 64-bit IIS application pool.
Feedback