Configure the Next Gen identity server
Before starting: complete Prepare RSA Authentication Manager 8.9. Have the Authentication Manager host name and port, and the Access Key, ready. For Option A, also have the certificate authority thumbprint.
Step 10. Storing the Access Key and thumbprint in Secret Store
Where: the Relativity Secret Store server, in PowerShell. Any server with the Secret Store client installed also works.
Create these secrets with exactly these paths and value names.
| Secret path | Value name | Value | Required |
|---|---|---|---|
Relativity/Authentication/Rsa/AccessKey
|
AccessKey
|
The Access Key from the Security Console | Yes |
Relativity/Authentication/Rsa/Thumbprint
|
Thumbprint
|
The certificate authority thumbprint, Option A | Only if you chose Option A |
The script writes both secrets and checks them.
To store the secrets:
-
Copy Set-RsaSecrets.ps1 to the server.
-
Open PowerShell and run it with the Secret Store address. For Option A, add the thumbprint:
Copy.\Set-RsaSecrets.ps1 -SecretStoreUrl https://secretstore.example.com:9090/ -Thumbprint <thumbprint from Step 8> -
Type the Access Key when asked. The screen hides it as you type.
The script writes the secrets and reads them back. It shows the stored values with the Access Key
partly masked. It looks for secretstore.exe in C:\Program Files\Relativity Secret Store\Client.
Pass -ClientPath if the client lives elsewhere.
To write the secrets by hand instead, run these from the secretstore.exe folder. The Access Key
then stays in that session's command history. Prefer the script on a shared server. Either way, the
key passes to secretstore.exe on its command line. Process-creation auditing on that server can
record it.
.\secretstore.exe secret write Relativity/Authentication/Rsa/AccessKey AccessKey=<Access Key from Step 6> --url https://secretstore.example.com:9090/
.\secretstore.exe secret write Relativity/Authentication/Rsa/Thumbprint Thumbprint=<thumbprint from Step 8> --url https://secretstore.example.com:9090/
To check the stored secrets:
If you used Set-RsaSecrets.ps1, its readback at the end is this check. If you wrote the secrets by
hand, read them back from the secretstore.exe folder:
.\secretstore.exe secret read Relativity/Authentication/Rsa/AccessKey --url https://secretstore.example.com:9090/
.\secretstore.exe secret read Relativity/Authentication/Rsa/Thumbprint --url https://secretstore.example.com:9090/
Confirm each command shows the value name, AccessKey or Thumbprint, with the value you stored.
The first command shows the Access Key in clear text. Run it where no one can see your screen, and
clear the console afterward.
Step 11. Entering the instance settings
Where: Relativity, Instance Settings tab.
To enter the settings:
- Log in to Relativity as a system administrator.
- Open the Instance Settings tab and filter Section on
Relativity.Authentication. - Create or edit this setting:
| Name | Value |
|---|---|
RsaEndpointUrls
|
The Authentication Manager address as https://<host>:<port>/. Example: https://am-primary.example.com:5555/ |
These optional settings use the defaults shown unless you create them. To change one, add it in the
Relativity.Authentication section, the same section as RsaEndpointUrls.
| Name | What it does | Default |
|---|---|---|
RsaRequestTimeoutSeconds
|
How long to wait for the Authentication Manager to answer one request | 30
|
RsaRetryCount
|
How many retries when the Authentication Manager does not answer the opening request. A passcode, tokencode, or PIN never goes twice. After a timeout, the user logs in again with the next tokencode | 2
|
RsaRetryBaseDelayMilliseconds
|
The starting wait between those retries. Each wait is longer than the last, with some random variation | 200
|
RsaAttemptLifetimeMinutes
|
How long a half-finished login stays valid. This covers waiting for a next tokencode or new PIN | 3
|
RsaMaximumPasscodeLength
|
The longest passcode accepted, from 16 to 64. If unset, the older RSAMaximumPasswordLength setting applies |
16
|
These settings are new with the Next Gen identity server.
Step 12. Applying the changes
The identity server caches the RSA instance settings and the Secret Store values. To apply a change right away, restart IIS on every web server. Open an administrator command prompt and run:
iisreset
Step 13. Turning on the RSA authentication provider
Where: Relativity.
A user goes to RSA only when all of these are on.
- The RSA provider type.
- An RSA authentication provider.
- The user's RSA login method.
To turn on the provider type and the provider:
- Select Home from the user menu, then open the Authentication tab.
- Open the Authentication Provider Type tab and open RSA. Make sure Enabled is Yes.
- Open the Authentication Provider tab and open the RSA provider.
- Select Yes for Enabled and click Save.
Restart IIS on every web server. The identity server then picks up the change.
Next:Validate and add users.
For any errors, see Troubleshooting and maintenance.