Installation¶
This page covers a new installation of the RSA Operations Portal, preparing RSA Authentication Manager (AM), the first start, verification and upgrades.
Every installation has three components:
| Component | Role |
|---|---|
| Portal | The web application: UI and business logic. |
| Connector | The service the Portal calls for everything that involves RSA AM. It is the only component that connects to AM. |
| MySQL 8.4 LTS | The Portal's database. |
At a glance¶
| Method | Runs on | Use it for |
|---|---|---|
| Release package | One Linux server with Docker or Podman | Production on one server, offline included: the images and MySQL are in the package. Settings in .env, connector.env and mysql.env; upgraded with upgrade.sh, which backs up the database first. |
| Helm chart | Kubernetes or OpenShift | Production on a cluster, against your own MySQL 8.4. Settings in Helm values and Secrets; upgraded with helm upgrade. |
| Demo | A workstation with the Portal's source | A read-only look around against a mock AM, with sample data. Never for production. |
Both installation methods run the same container images, which CI builds, tests and publishes for each release. Building the images yourself is not an installation method.
Prerequisites¶
Common¶
| Item | Requirement |
|---|---|
| Network: Connector → RSA AM | TCP 7002 (HTTPS command server and t3s) on the primary, plus the replica if it serves the read-only URL |
| Network: Portal → SMTP relay | TCP 25 by default (spring.mail.port). The Portal checks the relay when it starts. |
| Network: Portal → AD (optional) | The LDAP URL in active-directory.properties[n].providerURL |
| Network: users → Portal | HTTP or HTTPS to the Portal's address (8080 and 8443 with the release package, unless you change them) |
| ENS license | A .lic file for the RSA Operations Portal (mfa-portal) from the ENS licensing portal. See Licensing. You can install it after the first start. |
You also need, from RSA AM:
- the AM root CA certificate, imported into a Java keystore
trust.jks(steps); - the Command Client user name and password (steps);
- an internal AM user for the Connector's service account, with the custom service account role, not Super Admin;
- recommended: an internal AM user with a view-only role for the Connector's searches and lookups (read-only role);
- the GUIDs of the AM administrative roles that grant Trusted Agent, PMO and Help Desk access (steps).
For the release package¶
| Item | Requirement |
|---|---|
| Operating system | Linux on x86-64 |
| Docker | Docker Engine 23 or later and the Docker Compose plugin (docker compose, v2) |
| Podman (instead of Docker) | Podman 4.6 or later (RHEL 8.9+ or 9.3+), rootful or rootless, with podman-compose 1.0.6 or later (EPEL's version for RHEL 8 and 9; pip install podman-compose where the distribution's package is older), or podman compose with docker-compose v2 as its provider. With podman-compose 1.0.x, write settings-file values without quotes: Podman keeps quotes as part of the value. The host needs systemd, which runs Podman's health checks. |
| Ports | 8080 (HTTP) and 8443 (HTTPS) free on the server, or others set in .env (Address and ports) |
| Image access | None. The images are in the package's images/ folder. |
| Tools | sha256sum and gpg to verify the download |
For Helm¶
| Item | Requirement |
|---|---|
| Cluster | Kubernetes 1.25 or later, or OpenShift 4.12 or later |
| Helm | Helm 3.8 or later (OCI registry support) |
| Storage | A default StorageClass, or one you name: a 100Mi ReadWriteOnce volume for the license volume while it is on (License), and 8Gi for the embedded MySQL if you use it |
| Database | An external MySQL 8.4 server. The embedded MySQL is for evaluations only. |
| Image access | Pull access to ghcr.io/winllc/rsa-operations-portal and ghcr.io/winllc/rsa-operations-portal-connector, or a mirror of them (air-gapped) |
| Ingress | An ingress controller or OpenShift Routes, to reach the Portal from outside the cluster |
Get the release¶
- Sign in to the ENS licensing portal and open Downloads (
/account/downloads). It lists every version of the Portal, the latest highlighted, with each file's size and SHA-256 sum. Any account that holds an RSA Operations Portal license that is not revoked, evaluation licenses included, can download. The files come from ENS Solutions' own storage, never from GitHub Releases. -
Download, into one directory, the files you need:
File What it is rsa-operations-portal-<version>.tar.gzThe release package rsa-operations-portal-<version>.tgzThe Helm chart sbom-*.spdx.jsonSoftware bill of materials for each image SHA256SUMS,SHA256SUMS.ascChecksums and their signature -
Verify them:
See Releases and downloads for the release key and the image signatures.
Install from the release package¶
1. Unpack¶
The package holds:
| Entry | Purpose |
|---|---|
install.sh |
First install |
upgrade.sh |
Upgrade an existing installation to this version |
docker-compose.yml |
The Portal, Connector and MySQL services, pinned to this version's images |
env.template |
The Portal's settings, commented. install.sh copies it to .env. |
connector.env.template |
The Connector's settings: the AM connection and credentials. install.sh copies it to connector.env. |
mysql.env.template |
MySQL's settings: the root and application user passwords. install.sh copies it to mysql.env. |
license/ |
Where you can put license.lic for install.sh and upgrade.sh to give to the Portal |
default_build/ |
Branding, page text and e-mail templates the Portal mounts. ssl/ holds the trust store. |
util/ |
compose.sh (the compose command, Docker or Podman), systemd-unit.sh (start at boot), check-env.sh (checks .env, connector.env and mysql.env), split-env.sh (splits a .env from an older release), move-connector-secrets.sh (moves AM passwords out of an older connector.env's JAVA_OPTS), connector-tls.sh (the certificates for HTTPS and mutual TLS between the Portal and the Connector), helpdesk-code-key.sh (the key for the help desk's e-mailed codes), file-owners.sh (gives the Portal and the Connector their files) and backupdb.sh (database backup) |
images/ |
The Portal, Connector and MySQL images (docker save archive, which Podman loads too) |
README.md, GUIDE.md |
The package's quick start and the full administration guide |
2. Run install.sh¶
install.sh, upgrade.sh and the util/ scripts work with Docker or Podman. They choose the engine from --engine docker|podman, then CONTAINER_ENGINE, and otherwise use Docker if its daemon answers, else Podman; when both work and only Podman runs this installation, they stay with Podman. They print the engine and compose command they chose. COMPOSE_COMMAND names a compose command of your own, for example COMPOSE_COMMAND="podman compose".
install.sh copies the package to the install folder, loads the images and creates .env, connector.env and mysql.env from their templates (each mode 600). Then it stops and tells you what to fill in; the certificates and keys come on the second run. Run ./install.sh without a folder to install in the unpacked folder instead.
The templates turn on mutual TLS between the Portal and the Connector: connector.env has CONNECTOR_TLS_CLIENT_AUTH=required, and .env names the Portal's certificate and key in portal-tls/. Leave those lines as they are.
3. Fill in the settings¶
In /opt/rsa-operations-portal, replace every CHANGE_ME in the three settings files. Each service receives only its own file. Configuration describes every setting. At a minimum:
mysql.env (MySQL):
-
MYSQL_ROOT_PASSWORD,MYSQL_PASSWORD(MYSQL_DATABASEisRSAAPPandMYSQL_USERisappuser)
.env (the Portal):
-
spring.datasource.password, the same asMYSQL_PASSWORDinmysql.env -
CONNECTOR_AUTH_PASSWORD, any long random value: the Portal uses it to authenticate to the Connector -
role.mapped.1.rsaSecurityGuid(TRUSTED_AGENT),role.mapped.2.rsaSecurityGuid(PMO),role.mapped.3.rsaSecurityGuid(HELP_DESK) -
spring.mail.host,mail.smtp.host,mail.default.from,mfa.group.email. The nightly lost-token report goes tomfa.group.email(a new.envhascron.lostTokenThresholdMonitor.debug=false; from the next release that is the built-in default): set it to the MFA team's address. From the next release none of these has a built-in address: withoutmail.default.frome-mails go out fromnoreply@<the host of application.dns.name>, and withoutmfa.group.emailthe report goes to nobody and e-mails name "your help desk" (a warning at every start for each) - With an OpenID Connect provider (next release): the new
.envhasENS_SSO_OIDC_END_SESSION=true, so allow<application.dns.name>/as a post-logout redirect URI at the provider, or set it tofalse - With a SAML asserting party (next release): the new
.envhasENS_SSO_SAML_SINGLE_LOGOUT=true; give the Portal a signing key (the commented..._SIGNING_CREDENTIALS_0_*lines) and give the asserting party the Portal's metadata, or set it tofalse -
application.dns.name: the URL users will reach
connector.env (the Connector):
-
CONNECTOR_AUTH_PASSWORD, the same value as in.env -
RSA_CMDCLIENT_USER,RSA_CMDCLIENT_PASSWORD: the Command Client credentials -
RSA_ADMIN_USER_ID,RSA_ADMIN_USER_PASSWORD: the service account - Recommended:
RSA_READONLY_USER_ID,RSA_READONLY_USER_PASSWORD: the read-only account -
RSA_TRUSTSTORE_PASSWORD: the password oftrust.jks - In
JAVA_OPTS, the other AM settings (RSA Authentication Manager settings). Keep-Dconfig.properties.location=classpath:config.propertiesas it is, and keep passwords out ofJAVA_OPTS: the Java command line is readable by every user on the host.
Never put the AM settings or the MySQL root password in .env: the Portal is the service users reach. check-env.sh refuses a .env that holds them.
Keep $ and # out of the values. Docker Compose replaces $name with a variable, so a password $ecret arrives empty, and # starts a comment. check-env.sh reports both.
Put the AM trust store at /opt/rsa-operations-portal/default_build/ssl/trust.jks (steps).
Optionally, customise branding in default_build/properties/messages.properties and the images in default_build/static/. See Configuration.
4. Address and ports¶
The compose file publishes the Portal's container ports 8080 and 8443 as set in .env. Each value is [address:]port:
PORTAL_HTTP_PUBLISH=8080 # the Portal's 8080 (HTTP, or HTTPS once server.ssl.* is set)
PORTAL_HTTPS_PUBLISH=8443 # the container's 8443
| Value | Publishes on |
|---|---|
8080 (a bare port, the default) |
Every interface, IPv4 and IPv6 |
127.0.0.1:8080 |
This server only, for a reverse proxy on it |
0.0.0.0:8080 |
Every IPv4 interface |
[::1]:8080 |
One IPv6 address, in brackets |
Change them and run ./util/compose.sh up -d. Rootless Podman cannot publish ports below 1024 (the defaults are above), unless net.ipv4.ip_unprivileged_port_start is lowered.
Plain HTTP on every interface
On anything but a loopback address, the Portal is reachable from the network over plain HTTP unless HTTPS is on (server.ssl.* in .env) or a TLS proxy is in front. install.sh and upgrade.sh warn about it.
Behind a reverse proxy on the compose network (rsa-operations-portal_portal-net, reaching portal:8080 itself), set both values to 127.0.0.1:<port>, or publish nothing at all with a docker-compose.override.yml beside docker-compose.yml, which upgrades keep:
!reset needs Docker Compose 2.24 or podman-compose 1.4.0; with an older podman-compose the scripts refuse this override, so publish on 127.0.0.1:<port> instead. See Security → Behind a proxy for the forwarded headers.
5. License¶
Optional at this point. Choose one, or upload the license on the license screen after the first start (see License):
license/license.lic: save the file there, andinstall.shandupgrade.shsetENS_LICENSEin.envfrom it (util/license-env.sh) before starting the Portal.ENS_LICENSEin.env: the license's text, the token between itsBEGINandENDlines or the whole file base64-encoded (base64 -w0 license.lic). It is installed when no usable license is installed yet, or when it is a newer revision of the installed one.
6. Database¶
Nothing to do. On its first start, the MySQL container creates the database MYSQL_DATABASE and the user MYSQL_USER with MYSQL_PASSWORD, from mysql.env. The Portal then creates its tables itself, by applying its Flyway migrations, and checks that they match what it expects.
MySQL reads the MYSQL_* settings only when its data volume is new. Without MYSQL_ROOT_PASSWORD a new volume never initialises, and MySQL restarts with Database is uninitialized and password option is not specified. check-env.sh reports a missing setting.
7. First start¶
The second run:
- adds a random key for the help desk's e-mailed codes to
.envasrsa.helpdesk.code-key, unless one is set (util/helpdesk-code-key.sh; see Help-desk requests); - moves AM passwords out of
JAVA_OPTSinconnector.env, if any are there; - runs
util/connector-tls.sh, which makes a CA of this installation's own, the Connector's certificate indefault_build/connector-tls/and the Portal's client certificate inportal-tls/(see RSA AM integration); - checks
.env,connector.envandmysql.envwithutil/check-env.sh. Among its warnings: an AM URL whose host is an IP address or a name without a domain, which the Connector's host name check would refuse; - says where the Portal will listen, and warns about plain HTTP on the network;
- runs
util/file-owners.sh, which, among other things, makes.envand the Portal's keyportal-tls/portal-client.keymode 640 with group 0, so that the Portal (uid 1001, group 0) can read them and no other user on the host can; - starts the services (
docker compose up -dorpodman-compose up -d) and waits up to 300 seconds (WAIT_SECONDS) for the Portal to report healthy. Before starting, it setsENS_LICENSEin.envfromlicense/license.licif there is one, and the Portal installs it as it starts. Openhttp://<server>:8080.
Startup order: mysql must pass its mysqladmin ping health check, and connector must have started, before portal starts. On start, the Connector signs in to AM with the service account (and the read-only account, if set) and looks up the configured realm and security domain. If AM can't be reached, the Connector starts anyway and tries again on the next request; until then its health check reports DOWN. If a lookup fails, the Connector's AM session check fails (see Troubleshooting).
Day to day, in the install folder:
./util/compose.sh ps # status (docker compose ps, or podman-compose ps)
./util/compose.sh logs -f portal # logs (also under logs/)
./util/compose.sh stop # stop; ./util/compose.sh up -d to start again
| Volume | Holds |
|---|---|
rsa-operations-portal_mysql_data |
The database, which also holds the license and the installation id |
rsa-operations-portal_ens-license |
The license files of release 1.5 and earlier, imported into the database on the first start |
rsa-operations-portal_ens-audit |
The audit file, when ENS_AUDIT_FILE is set |
./util/compose.sh down -v deletes them.
Podman¶
- Start at boot. Podman has no daemon to start the containers again after a reboot. Run
./util/systemd-unit.shonce after the install. As root it adds/etc/systemd/system/rsa-operations-portal.service; as another user (rootless),~/.config/systemd/user/rsa-operations-portal.service, and that user's services must outlive their sessions:loginctl enable-linger <user>(as root, once). The unit runsutil/compose.sh up -dandstop.podman generate systemdand Quadlet units are alternatives. - Rootless. The containers run as their own users (the Portal uid 1001, the Connector 998, MySQL 999) inside your user namespace, and the volumes are kept in your home.
util/file-owners.shfixes the owners oflogs/,.envandportal-tls/from inside a container, so no root is needed on the host;podman unshare ls -ln logsshows them as the containers see them. Rootless port forwarding may show the Portal every client as coming from one address, which affects the audit trail and the rate limits: run Podman as root, or put a proxy in front that setsX-Forwarded-For(Security → Behind a proxy). - SELinux (RHEL, Fedora): the compose file labels the folders it mounts (
:zwhere both the Portal and the Connector mount them,:Zwhere one does), so they work in enforcing mode.
Upgrade with upgrade.sh¶
Verify and unpack the new release anywhere, and point upgrade.sh at the installation:
tar -xzf rsa-operations-portal-<new version>.tar.gz
cd rsa-operations-portal-<new version>
./upgrade.sh /opt/rsa-operations-portal
It stays with the engine that runs the installation (--engine to choose). upgrade.sh:
- loads the new images; nothing changes if they do not load;
- backs up the database to
backups/RSAAPP-before-<version>-<time>.sql.gzin the install folder (skip with--no-backup); - keeps where the Portal listens: if
.envsets neitherPORTAL_HTTP_PUBLISHnorPORTAL_HTTPS_PUBLISH, it writes there how the running Portal is published (else what the olddocker-compose.ymlpublished), and says so; - updates the release files:
docker-compose.yml,env.template,connector.env.template,mysql.env.template, the scripts,util/,default_build/portal/anddefault_build/log4j.xml; - splits a
.envfrom a release that kept every setting in that one file (see below), and moves AM passwords out ofconnector.env'sJAVA_OPTSintoRSA_*variables (util/move-connector-secrets.sh, keeping the original asconnector.env.before-secrets.<time>); - adds a key for the help desk's e-mailed codes to
.envunless one is set (util/helpdesk-code-key.sh); - makes the certificates for HTTPS between the Portal and the Connector if the installation has none (
util/connector-tls.sh), addsCONNECTOR_TLS_TRUSTSTOREto.env, and rewrites an explicithttp://connector:8080address to HTTPS. It moves the Portal's client certificate and key fromdefault_build/ssl, which the Connector mounts too, toportal-tls/, and points the settings in.envthat name them there. It leaves mutual TLS as the installation has it, and says when it is off; - lists, for
.env,connector.envandmysql.env, the settings that are new in the file's template and missing from it, except the three mutual TLS settings, which go together on both sides (below), and checks the three files withutil/check-env.sh, which warns about an AM reached by an IP address or a short name; - when the running MySQL is 8.0, prepares the move to 8.4 (below);
- gives the Portal and the Connector their files (
util/file-owners.sh), restarts on the new version and waits for the Portal to report healthy.
It keeps .env, connector.env, mysql.env, license/, a docker-compose.override.yml, your branding in default_build/ (properties, static, email-templates, ssl), the certificates for HTTPS to the Connector (connector-tls-ca/, default_build/connector-tls/, portal-tls/), the logs, the database and the installed license. If license/license.lic is there, upgrade.sh sets ENS_LICENSE in .env from it, installed unless a different usable license, or a newer revision of it, is installed already.
The Portal updates its database schema itself on the first start of the new version (Flyway migrations). A database from release 1.5 or earlier, whose tables Hibernate created, is taken over: its tables, data and ids are kept, and what is missing is added. On a large audit table that first start takes longer. To roll back, see Rolling back an upgrade.
To the next release
Nothing needs doing to keep signing in and serving. .env is kept, so the settings below stay as they were unless you add them:
- Single sign-on and administrative roles. With an identity provider configured, a role
ENS_SSO_ROLES_*maps a group to now comes only through the provider; a passcode sign-in alone no longer gets it.ENS_SSO_REQUIRE_FOR_ADMIN_ROLES=falsekeeps the old behaviour. See Single sign-on. ENS_SSO_OIDC_END_SESSIONis off for an existing installation (a warning at every start while OpenID Connect is configured). Allow<APPLICATION_DNS_NAME>/as a post-logout redirect URI at the provider, then set it totrue.- The lost-token report. From the next release the lost-token report is on by default (
cron.lostTokenThresholdMonitor.debug=falsebuilt in): an installation withmfa.group.emailset, upgraded ones included, starts getting the nightly report of users over the lost-token threshold after the upgrade;cron.lostTokenThresholdMonitor.debug=true(Helm: underconfig) keeps it off, with a warning at every start. Checkmfa.group.emailbefore upgrading. - No built-in addresses.
mfa.group.email,mail.default.from, the database and SMTP hosts, the Active Directory example and the Connector's Authentication Manager URLs no longer default to vendor test addresses. A working installation sets them all, so nothing changes; one that never setmfa.group.emailormail.default.fromgets the behaviour in Configuration → Mail, with a warning at every start. ENS_SSO_SAML_SINGLE_LOGOUTis new and off for an existing installation. Give the Portal a signing key and refresh the relying party at the asserting party, then set it totrue. See SAML single logout. FlywayV9adds the tableSsoSamlLogoutRequest.- Connector JSON logs.
LOGGING_STRUCTURED_FORMAT_CONSOLE=ecsinconnector.envmakes the Connector write ECS JSON lines; the timestamped text lines stay the default. See Configuration → Logging. - Site details need the trusted agent role; the audit CSV export neutralises formulas; the Connector's console lines start with a timestamp (
upgrade.shreplacesdefault_build/log4j.xml).
To the release with Docker and Podman support
An installation on Docker stays on Docker and needs nothing done. A Portal published without an address keeps a bare port and stays on IPv4 and IPv6; one on 127.0.0.1 (or 0.0.0.0) keeps that address; one that published nothing gets 127.0.0.1. New installations get 8080 and 8443. The package's MySQL image is now named in full (docker.io/library/mysql:<version>), which Docker treats as the same image as before.
To the release with sessions and the license in the database
The first start copies the license, the installation id and the license history from the ens-license volume into the database (tables ens_license_*), and the installation keeps its id. The compose file keeps the volume mounted for that start; after it, the volume is not read, so back up the database instead. If the volume is not mounted for that start, the Portal stops and says so rather than take a new installation id. Sessions are now kept in the database too: sessions open during this upgrade end once, and later upgrades sign nobody out.
From a release with MySQL 8.0
This release runs MySQL 8.4 LTS (8.0 reached its end of life in April 2026). MySQL upgrades the database in place on its first start, which takes a few minutes; there is no way back to 8.0 except the backup upgrade.sh takes first, so do not skip it. Before restarting anything, upgrade.sh moves root and the Portal's database user from mysql_native_password, which 8.4 no longer loads, to caching_sha2_password, keeping their passwords, and shuts MySQL 8.0 down cleanly. If another account still uses mysql_native_password, it stops and names it: move that account (ALTER USER ... IDENTIFIED WITH caching_sha2_password BY '<its password>') or drop it, and run upgrade.sh again. A my.cnf of your own must not use options 8.4 removed, such as default_authentication_plugin.
HTTPS to the Connector and the AM passwords
Nothing needs editing: upgrade.sh makes the certificates and moves the passwords. Once the Connector runs, delete connector.env.before-secrets.*: it holds the old passwords. The Portal and the Connector must be upgraded together; the release package always does that.
To the release with the hardened Connector and the help desk's code key
Read this before upgrading production.
- Test against a staging AM first. The Connector now reads AM's replies through a deserialization filter, an allow-list of the RSA SDK's classes built against the SDK and the mock AM. A real AM may send a class the list does not have, which fails that command. Upgrade a staging installation that reaches a staging AM, sign in, change a user, let the scheduled jobs run, and watch
./util/compose.sh logs connectorforRefused a reply from Authentication Manager. For an RSA class the warning names theCONNECTOR_SERIAL_FILTER_ALLOWsetting to add toconnector.env. If production refuses a reply all the same,CONNECTOR_SERIAL_FILTER=offinconnector.envreads the replies without the filter, with a warning at every start, until that class is added; then remove it. See What the Connector accepts. - AM's host name is checked. Besides the CA, the Connector now checks that AM's certificate names the host in the
ims.httpinvoker.*URLs inconnector.env. An installation that reaches AM by an IP address or a short name usually stops connecting, since the certificate names only the fully qualified name.upgrade.shwarns about such a URL (throughutil/check-env.sh). Before upgrading, put the name in the certificate in the URLs, or have the certificate reissued with the name you use. Where neither is possible,RSA_TLS_VERIFY_HOSTNAME=falseinconnector.envturns the name check off; the Connector then warns at every start. - Mutual TLS stays as it was. New installations have mutual TLS between the Portal and the Connector; an upgraded one keeps what it had. When it is off,
upgrade.shsays so and the Connector warns at every start. To turn it on, run./util/connector-tls.sh --mutual,./util/file-owners.shand./util/compose.sh up -din the install folder (Mutual TLS). - The Portal's client certificate moves. An earlier release kept the Portal's certificate and key for mutual TLS in
default_build/ssl, which the Connector mounts too.upgrade.shmoves them toportal-tls/, which only the Portal mounts, and changes/ssl/portal-client.crtand.keyin.envto/portal-tls/.... A key of your own named elsewhere under/ssl/stays where it is, andutil/check-env.shwarns: move it toportal-tls/and name it/portal-tls/...inCONNECTOR_TLS_CLIENTKEY. - File modes.
.envand the Portal's client key are now mode 640 with group 0, which the Portal reads through (util/file-owners.sh). If you copy them into place yourself, run./util/file-owners.shbefore starting the Portal. - The help desk's e-mailed codes are kept under a server key.
upgrade.shadds a random one to.env(rsa.helpdesk.code-key) unless one is set. A code e-mailed in the minutes before the upgrade no longer verifies (codes last 10 minutes): the operator sends a new one. - AM permissions. Operators' role grants and revokes, clearing cached Windows passwords and emergency access codes now run in the operator's own AM session. Before the upgrade, give the mapped AM roles the additional permissions, or those actions fail for operators whose roles lack them.
CONNECTOR_HTTPS_ADDRESSis new and optional: the Connector's HTTPS port still listens on every interface unless it names one.- Logs. Line breaks in log messages are written as
\rand\nin the Portal's and the Connector's text logs. Alog4j2.xmlorlog4j.xmlof your own should keep%enc{%m}{CRLF}orCrlfSafePatternLayout(Configuration → Logging).
To the release with help-desk requests and rate limits
- Help-desk requests. Resetting a PIN, issuing an emergency access code, marking a token lost, deprovisioning an assigned token and clearing a cached Windows password are now help-desk requests: a ticket and reason, a verified user, a second operator for privileged users, and an e-mail to the user. Unlocking an account stays one click. Tell your Trusted Agents and Help Desk staff before the upgrade. The settings are
rsa.helpdesk.*. - E-mails. The help-desk notice replaces the PIN-reset and lost-token e-mails. Their templates,
user-token-pin-reset-notification.propertiesanduser-token-lost-notification.properties, are no longer used; a customized copy indefault_build/email-templatescan be removed. Customize the notice through thehelpdesk.notice.*keys inmessages.propertiesinstead. - Generic self-service messages. Sign-in, Test My Token, the Windows-password PIN reset, registration and exemption requests now give one answer whatever the cause (see Security). In
messages.properties, the keysuser.exemption.request.confirmationSentanduser.exemption.request.noEmailare replaced byuser.exemption.request.received: move a customized text to the new key. - Rate limits apply from the first start (
rsa.rate-limit.*), counted in the database. The in-memory attempt limiter is gone: Test My Token's and the PIN reset link's limits, and the token swap's, are counted in the database too. - Behind a proxy, use
SERVER_FORWARD_HEADERS_STRATEGY=native, neverframework, and checkSERVER_TOMCAT_REMOTEIP_INTERNAL_PROXIES(Security → Behind a proxy). Without the right setting every visitor shares the proxy's per-address limit. - Database. Flyway runs
V2__helpdesk_requests,V3__rate_limitsandV4__helpdesk_run_startedon the first start, addingHelpDeskRequest,RateLimitWindowandRateLimitBackoff.
From a release with a single .env
Older releases kept every setting in .env and gave it to every container, so the Portal received the AM credentials and the MySQL root password. upgrade.sh splits it with util/split-env.sh, and nothing needs editing:
JAVA_OPTS, with the AM settings, and a copy ofCONNECTOR_AUTH_PASSWORDmove toconnector.env. JVM options of your own in the oldJAVA_OPTS(-Xmx…) are kept for the Portal too, in.env.- The
MYSQL_*settings move tomysql.env. - The original is kept as
.env.before-split.<time>(mode 600), and the script prints what it moved. Running it again changes nothing.
After such an upgrade:
- Once the Portal runs, delete
.env.before-split.*: it still holds every secret. - The Portal held the Command Client and service-account passwords before the upgrade. If it may have been compromised, change them in AM, then in
connector.env, and run./util/compose.sh up -d.
Install with Helm¶
The chart is oci://ghcr.io/winllc/charts/rsa-operations-portal, with the same version as the release. It is also in the release download as rsa-operations-portal-<version>.tgz. The chart installs:
- the Portal as a Deployment, one replica by default (see Replicas), and a PVC for the license files of release 1.5 and earlier;
- the Connector as a second Deployment, with its own settings, the AM trust store, its HTTPS certificate and a NetworkPolicy that admits only the Portal;
- optionally, an embedded MySQL StatefulSet for evaluations.
The chart's README.md lists every value. Each setting in the three templates (env.template, connector.env.template, mysql.env.template) has a value.
1. Create the Secrets¶
Create a namespace and the Secrets the chart reads. You can also give each secret inline in your values; the chart then puts it in a Secret of its own. Never put secrets in a ConfigMap.
kubectl create namespace rsa-portal
# the AM trust store and its password
kubectl -n rsa-portal create secret generic rsa-am-trust \
--from-file=trust.jks --from-literal=password=<trust store password>
# the Command Client, the service account and the read-only account
kubectl -n rsa-portal create secret generic rsa-am-credentials \
--from-literal=cmdclient-user=<command client user> \
--from-literal=cmdclient-password=<command client password> \
--from-literal=admin-user-id=<service account user id> \
--from-literal=admin-user-password=<service account password> \
--from-literal=readonly-user-id=<read-only user id> \
--from-literal=readonly-user-password=<read-only password>
# the database password
kubectl -n rsa-portal create secret generic rsa-portal-db --from-literal=password=<database password>
The Portal-to-Connector password and the key for the help desk's e-mailed codes need no Secret: the chart generates each once and keeps it across upgrades. To set your own, use connector.auth.existingSecret and helpDesk.emailCodeKey.existingSecret.
The Connector receives its AM host settings as -D options in JAVA_OPTS, and the passwords as files: the chart mounts them from the Secrets under /var/run/secrets/rsa, so none is on the Java command line. Tomcat's start script splits and evaluates JAVA_OPTS, so keep spaces, quotes and $ out of connector.extraJavaOpts.
The chart also makes a CA and the certificates for HTTPS and mutual TLS between the Portal and the Connector, in the Secret <release>-rsa-operations-portal-connector-tls, and keeps them across upgrades. A new installation has mutual TLS on. To use your own certificates (a cert-manager Certificate, for example), set connector.tls.existingSecret, and connector.tls.clientSecret for the Portal's; see RSA AM integration.
Set authManager.host (and .readOnlyHost) to the name in AM's certificate, usually its fully qualified name: the Connector checks it, and the notes after helm install warn about an IP address or a name without a domain.
2. Prepare the database¶
Use an external MySQL 8.4 server. Create the database and its user before the first install:
CREATE DATABASE IF NOT EXISTS `RSAAPP`;
CREATE USER 'appuser'@'%' IDENTIFIED BY '<password>';
GRANT ALL PRIVILEGES ON RSAAPP.* TO 'appuser'@'%';
The Portal creates and changes its tables itself on start, by applying its Flyway migrations. No schema job is needed. To give the Portal's user only SELECT, INSERT, UPDATE and DELETE, create a second user with the DDL rights (CREATE, ALTER, INDEX, REFERENCES, DROP) for the migrations and set database.migration.username and its password. The chart connects with jdbc:mysql://<database.host>:3306/RSAAPP?sslMode=REQUIRED, so the server must accept TLS; set database.params or database.url otherwise.
Embedded MySQL: evaluation only
database.embedded.enabled=true runs the MySQL image the release package ships as a single-replica StatefulSet. It creates the database and user from database.name, database.username and database.password on its first start. It has no backups and no high availability. Do not use it in production.
3. Write your values¶
A minimal my-values.yaml:
database:
host: mysql.example.com
existingSecret: rsa-portal-db
mail:
host: smtp.example.com
from: rsa-portal@example.com
mfaGroupEmail: mfa-team@example.com
publicUrl: https://rsa-portal.example.com
authManager:
host: am-primary.example.com
readOnlyHost: am-replica.example.com # optional
commandClient: {existingSecret: rsa-am-credentials}
adminUser: {existingSecret: rsa-am-credentials}
readOnlyUser: {existingSecret: rsa-am-credentials}
trustStore: {existingSecret: rsa-am-trust, passwordSecret: rsa-am-trust}
roles:
trustedAgentGuid: ims.xxxxxxxx
pmoGuid: ims.xxxxxxxx
helpDeskGuid: ims.xxxxxxxx
The key values:
| Value | Release package setting |
|---|---|
database.host, .port, .name, .username, .existingSecret |
spring.datasource.url, .username, .password |
authManager.host, .port, .readOnlyHost |
java.naming.provider.url, ims.soap.client.provider.url, ims.httpinvoker.client.provider.url, ims.httpinvoker.client.provider.readonly.url |
authManager.commandClient.* |
RSA_CMDCLIENT_USER, RSA_CMDCLIENT_PASSWORD |
authManager.adminUser.* |
RSA_ADMIN_USER_ID, RSA_ADMIN_USER_PASSWORD (the service account) |
authManager.readOnlyUser.{id,password,existingSecret,idKey,passwordKey} |
RSA_READONLY_USER_ID, RSA_READONLY_USER_PASSWORD (recommended) |
authManager.trustStore.* |
trust.jks, RSA_TRUSTSTORE_PASSWORD |
connector.tls.*, connector.service.port (8443), networkPolicy.connector.enabled (true) |
HTTPS between the Portal and the Connector; see RSA AM integration |
database.migration.* |
spring.flyway.user, spring.flyway.password |
authManager.realm, .securityDomain |
rsa.authmanager.realm.name, rsa.authmanager.securityDomain.name (default SystemDomain) |
roles.trustedAgentGuid, .pmoGuid, .helpDeskGuid |
role.mapped.1-3.rsaSecurityGuid |
mail.host, .port, .from, .mfaGroupEmail |
spring.mail.host, mail.smtp.host, mail.default.from, mfa.group.email. From the next release an empty from means noreply@<publicUrl host>, and an empty mfaGroupEmail sends the lost-token report to nobody (a warning at every start for each) |
publicUrl |
application.dns.name (default: the first ingress or route host) |
activeDirectory.* |
active-directory.* |
cronTimezone, securityBanner.* |
cron.timezone, security-banner.* |
consentBanner.*, session.* |
ENS_CONSENT_BANNER_*, ENS_SESSION_* (see Configuration) |
helpDesk.verificationRequired, .verificationMethods, .privilegedRoles, .approverRoles, .requestTtl, .emailCodeKey |
rsa.helpdesk.* (see Help-desk requests); emailCodeKey is generated once and kept unless you give a value or a Secret. The other rsa.helpdesk.* settings go in config |
connector.extraEnv |
The Connector's RSA_TLS_VERIFY_HOSTNAME and CONNECTOR_SERIAL_FILTER_* (see RSA AM integration) |
rateLimit.* |
rsa.rate-limit.* (see Configuration → Rate limits). An empty value keeps the default |
forwardedHeaders.internalProxies |
SERVER_TOMCAT_REMOTEIP_INTERNAL_PROXIES: CIDR ranges, each with its prefix length; the chart's schema refuses others. Empty: the private ranges |
metrics.enabled (true), metrics.port (9090), metrics.serviceMonitor.*, metrics.allowFrom |
MANAGEMENT_SERVER_PORT: Prometheus and the probes on a port of their own, the metrics port of the Service |
logFormat (json) |
LOGGING_STRUCTURED_FORMAT_CONSOLE=ecs; text for plain lines |
connector.logFormat (text; next release) |
The Connector's LOGGING_STRUCTURED_FORMAT_CONSOLE=ecs with json |
backup.* |
A database backup CronJob (off by default; see Operator Guide) |
audit.* |
ENS_AUDIT_* (see Audit logging) |
config |
Any other Portal setting, for example cron.expiring.notification.daysBefore |
helm install stops with a message when database.host, the database password, mail.host or the trust store Secret is missing. The Connector does not start without trust.jks.
4. Install¶
helm install rsa-portal oci://ghcr.io/winllc/charts/rsa-operations-portal --version <version> \
-n rsa-portal -f my-values.yaml
kubectl -n rsa-portal rollout status deploy/rsa-portal-rsa-operations-portal --timeout=10m
helm test rsa-portal -n rsa-portal
The first start creates the database tables and can take a few minutes; the startup probe allows 10. helm test calls the Portal's health endpoint. Until a license is installed, the Portal shows only its license screen.
5. License¶
Upload the license on the license screen after the first start, or give it to the chart:
helm upgrade --install rsa-portal oci://ghcr.io/winllc/charts/rsa-operations-portal --version <version> \
-n rsa-portal -f my-values.yaml --set-file license.file=./license.lic
Or create a Secret with the key license.lic and set license.existingSecret. The chart passes the license as ENS_LICENSE: it is installed only when no usable license is installed yet, or when it is a newer revision of the installed one. A license uploaded later on the license screen is otherwise kept.
The license, the installation id and the license history are kept in the database (tables ens_license_*), shared by every replica: back up the database. The PVC <release>-rsa-operations-portal-license (persistence.license, mounted at /var/lib/ens/mfa-portal) holds the license files of release 1.5 and earlier:
- An upgrade keeps it mounted (
persistence.license.enabledistrueby default), and the first start copies its license, installation id and license history into the database. After that start the volume is not read: setpersistence.license.enabled=falsefor rolling updates and more than one replica. - Without the volume the chart sets
ENS_LICENSE_EXPECT_INSTALLATION_ID=true: the Portal never makes an installation id of its own, and does not start without one from the database or the volume. A new installation without the volume setslicense.allowNewInstallationId=truefor its first start only; it is honoured only while the database holds no license state, and logged as an error at every start until set back tofalse.
6. Ingress, OpenShift and client certificates¶
Ingress with TLS (edge termination at the controller):
ingress:
enabled: true
className: nginx
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 6m # bulk uploads are up to 5 MB
hosts:
- host: rsa-portal.example.com
paths: [{path: /, pathType: Prefix}]
tls:
- secretName: rsa-portal-tls
hosts: [rsa-portal.example.com]
When the ingress or Route terminates TLS, the chart sets SERVER_FORWARD_HEADERS_STRATEGY=native and ENS_COOKIE_SECURE=true, so the Portal sees each client's own address, for its audit trail and its rate limits. If the ingress controller runs with use-forwarded-headers or compute-full-forwarded-for, set forwardedHeaders.internalProxies to the controller's and the load balancer's ranges. See Security → Behind a proxy.
OpenShift: set openshift.enabled: true, so the restricted SCC assigns the user and group ids, and use a Route instead of an Ingress. The chart annotates the Route with haproxy.router.openshift.io/set-forwarded-headers: replace (in route.annotations), so the router replaces X-Forwarded-For instead of appending to it: keep that annotation.
Client certificates. Sign-in uses SecurID passcodes. Some features also read the browser's X.509 client certificate: token enrollment records it, and PIN reset with a certificate, exemption requests and appointment cancellation need it. The Portal reads the certificate only from its own TLS session, never from a header. Behind edge termination, those features see no certificate. To use them, let the Portal terminate TLS itself and pass TLS through:
kubectl -n rsa-portal create secret generic rsa-portal-tls-keystore \
--from-file=keystore.p12 --from-literal=keystore-password=<password>
kubectl -n rsa-portal create secret generic rsa-portal-user-cas \
--from-file=truststore.p12 --from-literal=truststore-password=<password>
tls:
enabled: true # HTTPS on 8443 in the Portal
clientAuth: want
keystore: {existingSecret: rsa-portal-tls-keystore, passwordSecret: rsa-portal-tls-keystore}
truststore: {existingSecret: rsa-portal-user-cas, passwordSecret: rsa-portal-user-cas}
ingress:
enabled: true
className: nginx
annotations:
nginx.ingress.kubernetes.io/ssl-passthrough: "true" # the controller needs --enable-ssl-passthrough
hosts:
- host: rsa-portal.example.com
paths: [{path: /, pathType: Prefix}]
On OpenShift use route.tls.termination: passthrough. Without an ingress controller, use service.type: LoadBalancer.
With TLS passed through, the ingress controller or router hides the client's address, so all clients share its per-address rate limit; the per-user limits and backoff still apply. Raise rateLimit.*.perIp, or use a LoadBalancer Service with externalTrafficPolicy: Local, which keeps client addresses.
7. Upgrade¶
helm upgrade rsa-portal oci://ghcr.io/winllc/charts/rsa-operations-portal --version <new version> \
-n rsa-portal -f my-values.yaml
Back up the database first. The Portal updates its schema on the first start of the new version, and helm rollback restores the previous images and settings, not the previous database. The license PVC and the database are kept. The release notes for the release package apply to Helm too.
To the next release
With single sign-on configured, a role sso.roles maps a group to now comes only through the identity provider, because sso.requireForAdminRoles defaults to null (unset); a release that set requireForAdminRoles: false explicitly keeps the old behaviour. sso.oidcEndSession (default false) signs operators out of the OpenID Connect provider too; allow <publicUrl>/ as a post-logout redirect URI first. sso.samlSingleLogout (default false) does SAML single logout for each sso.saml entry with a signingSecret and a SingleLogoutService (in its metadata, or singleLogoutUrl); refresh the relying party at the asserting party first. From the next release the lost-token report is on by default (cron.lostTokenThresholdMonitor.debug=false built in): an installation with mfa.group.email set, upgraded ones included, starts getting the nightly report of users over the lost-token threshold after the upgrade; cron.lostTokenThresholdMonitor.debug=true (Helm: under config) keeps it off, with a warning at every start; mail.mfaGroupEmail is that address, and with mail.from empty (its default) e-mails now go out from noreply@<publicUrl host>. connector.logFormat: json makes the Connector write ECS JSON lines (default text).
To the release with sessions and the license in the database
The license PVC stays mounted, and the first start copies the license and the installation id into the database; then you can turn the volume off (License). Sessions open during that upgrade end once; later upgrades sign nobody out.
To the release with help-desk requests and rate limits
The upgrade brings the values helpDesk.*, rateLimit.* and forwardedHeaders.internalProxies, sets SERVER_FORWARD_HEADERS_STRATEGY=native (it was framework) behind a TLS-terminating ingress or route, and adds the set-forwarded-headers: replace annotation to the Route.
To the release with the hardened Connector
- It keeps mutual TLS as the release has it. A release from before this default has it off: the notes and the Connector warn, and
connector.tls.mutual=trueturns it on (withconnector.tls.existingSecret, alsoconnector.tls.clientSecret). The chart records the setting in thersa-operations-portal/connector-mutual-tlsannotation of its TLS Secret and ConfigMap; an upgrade that can read neither that nor the running Connector, such ashelm template --is-upgradeor a changed name override, stops and asks forconnector.tls.mutual. - It checks AM's host name: if the notes warn that the Connector reaches AM by an IP address or a short name, use the certificate's name in
authManager.host, have the certificate reissued, or setRSA_TLS_VERIFY_HOSTNAME=falseinconnector.extraEnv. - It filters AM's replies: test it against a staging AM first and watch the Connector's log for
Refused a reply from Authentication Manager(see the release package notes, withconnector.extraEnvfor the settings). - It generates
helpDesk.emailCodeKey: a help-desk e-mail code sent in the minutes before the upgrade no longer verifies, so the operator sends a new one.
To the release with HTTPS between the Portal and the Connector
The upgrade creates the TLS Secret, switches the Portal's Connector address to https://...:8443, mounts the AM passwords as files and adds the Connector NetworkPolicy. Both pods roll once. On a cluster without NetworkPolicy support, set networkPolicy.connector.enabled=false. With metrics.enabled (the default), the probes move to the management port, and the Portal's log lines become JSON unless logFormat: text.
8. Uninstall¶
This keeps the license PVC (helm.sh/resource-policy: keep) and the embedded MySQL's data PVC (data-rsa-portal-rsa-operations-portal-mysql-0); delete them yourself once you no longer need them. The license and the installation id are in the database, which uninstall does not touch.
Replicas¶
Sessions, rate limits, scheduled-job locks and the license are kept in the database, so replicaCount can be more than 1 once the license volume is off (persistence.license.enabled=false) or is ReadWriteMany; the chart refuses otherwise. While a ReadWriteOnce license volume is mounted, the Portal is updated with the Recreate strategy; otherwise with a rolling update that is never without a ready Portal. With more than one replica, give the ingress cookie affinity (ingress-nginx: nginx.ingress.kubernetes.io/affinity: cookie): a help-desk emergency access code is shown only by the replica that made it. The Connector runs exactly one replica.
Air-gapped clusters¶
Use the chart from the release download, or pull it on a connected machine:
Mirror the images to your registry, keeping their paths, and point the chart at it with global.imageRegistry:
for image in winllc/rsa-operations-portal:<version> winllc/rsa-operations-portal-connector:<version>; do
skopeo copy docker://ghcr.io/$image docker://registry.example.com/$image
done
# only for the embedded MySQL
skopeo copy docker://docker.io/library/mysql:8.4.11 docker://registry.example.com/library/mysql:8.4.11
helm install rsa-portal ./rsa-operations-portal-<version>.tgz -n rsa-portal -f my-values.yaml \
--set global.imageRegistry=registry.example.com
The release package's images/ archive holds the same images: docker load (or podman load) them, then tag and push them to your registry.
Trying it out: the demo¶
The Portal's source repository has a docker-compose.demo.yaml at its root. It builds the Portal, the Connector and a mock AM from source and runs a read-only demo with sample sites, shipments, Trusted Agents, appointments and exemption requests. The sign-in credentials are on its login page. Nothing a visitor does changes the database or AM, and the scheduled jobs do not run.
Not for production
The demo's credentials are public, so anything those accounts can see is readable by anyone who reaches it. It runs against a mock AM only.
- Get a license. Without one the demo shows only the license screen, and the read-only demo takes no uploads. Download an evaluation license for the RSA Operations Portal from the ENS licensing portal and save it as
license/license.licbeside the compose file. -
Start it, giving the license as
ENS_LICENSE; the Portal installs it as it starts. Use-p rsa-demo: without it, the demo would share its project and volumes with the repository's other compose files. -
Reach it. The demo publishes no ports: the Portal listens on 8080 inside the demo network only. Either attach a reverse proxy to the
rsa-demo_demo-netnetwork and forward toportal:8080, or write an override file bound to127.0.0.1:Then open http://localhost:8080.
docker compose -f docker-compose.demo.yaml -p rsa-demo down resets the data, the license included: give ENS_LICENSE again on the next start. Every start loads the same sample data. The demo needs about 1 GB of memory once running; on a Mac, give the Docker or Podman VM 4 GB if you can, since the build compiles the code.
RSA Authentication Manager setup¶
These steps apply to both methods.
Export the AM root certificate and build trust.jks¶
The Connector must trust AM's TLS certificate.
- In a browser, open
https://<am-server>:7002. An Error 404 page appears. - Open the page's certificate, go to Certification Path, select the top (root) certificate, then View Certificate → Details → Copy to File.
- Export it as DER encoded binary X.509 (.CER) with the name
am_root.cer. -
Import it with the Java
keytool:keytool -import -keystore trust.jks -storepass <truststore_password> \ -file am_root.cer -alias rsa_am_ca -trustcacertskeytoolcreates the trust store if it does not exist yet. -
Release package: place it at
default_build/ssl/trust.jksin the install folder. Helm: put it in a Secret (authManager.trustStore.existingSecret). The Connector sees it as/custom/ssl/trust.jkseither way. - Use
<truststore_password>forRSA_TRUSTSTORE_PASSWORDinconnector.env(Helm:authManager.trustStore.passwordor.passwordSecret).
The alias rsa_am_ca matches the default ims.ssl.client.root.ca.alias.
Get the Command Client credentials¶
AM generates a random Command Client user and password at installation. On the AM host:
cd RSA_AM_HOME/utils
./rsautil manage-secrets --action list
# enter Operations Console credentials when prompted
Copy the values shown as Command Client User Name and Command Client User Password into RSA_CMDCLIENT_USER and RSA_CMDCLIENT_PASSWORD in connector.env (Helm: authManager.commandClient).
Find the administrative role GUIDs¶
For each AM administrative role that should map to a Portal role:
- Sign in to the AM Security Console.
- Go to Administration → Administrative Roles → Manage Existing.
- Click the role name and choose View.
- In the browser address bar, find
guid=ims.xxxxx…. Theims.xxxxx…value is the GUID.
Set them as role.mapped.1.rsaSecurityGuid (TRUSTED_AGENT), role.mapped.2.rsaSecurityGuid (PMO) and role.mapped.3.rsaSecurityGuid (HELP_DESK). With Helm: roles.trustedAgentGuid, roles.pmoGuid and roles.helpDeskGuid.
RSA Authentication Manager settings¶
In the release package the accounts are RSA_* variables in connector.env, and the rest are -D options inside JAVA_OPTS there. The Helm chart builds them from authManager.*.
| Setting | Value |
|---|---|
RSA_CMDCLIENT_USER, RSA_CMDCLIENT_PASSWORD |
The Command Client user name and password |
RSA_ADMIN_USER_ID, RSA_ADMIN_USER_PASSWORD |
The service account: an internal AM user with the service account role |
RSA_READONLY_USER_ID, RSA_READONLY_USER_PASSWORD |
Recommended: an internal AM user with the read-only role |
RSA_TRUSTSTORE_PASSWORD |
Password of trust.jks |
java.naming.provider.url |
t3s://<AM primary FQDN>:7002 |
ims.soap.client.provider.url |
https://<AM primary FQDN>:7002/ims-ws/services/CommandServer |
ims.httpinvoker.client.provider.url |
https://<AM primary FQDN>:7002/ims-ws/httpinvoker/CommandServer. Use the name AM's certificate has: the Connector checks it |
ims.httpinvoker.client.provider.readonly.url |
The same URL on the primary or a replica |
RSA_TLS_VERIFY_HOSTNAME |
Optional: false turns off the check of AM's host name, for an AM reached by a name its certificate lacks, with a warning at every start |
ims.ssl.client.trust.keystore.filename |
/custom/ssl/trust.jks |
rsa.authmanager.realm.name, rsa.authmanager.securityDomain.name |
Realm and security domain the Portal manages (default SystemDomain) |
Other setup¶
- E-mail. The Portal checks the SMTP relay at startup and does not start without it. Set
spring.mail.hostandmail.smtp.host(Helm:mail.host),mail.default.fromandmfa.group.email. - Active Directory (optional). The Portal can keep users in an "RSA enabled" AD group while they hold a token. See Configuration. With Helm, set
activeDirectory.enabledand one entry inactiveDirectory.instancesper RSA security domain. - Audit logging. Every event is kept in the database and shown on the Audit Log page. Extra outputs (stdout, a file, Splunk, syslog) are set with the
ENS_AUDIT_*settings (Helm:audit.*). See Audit logging. - Branding. Used while the license includes the branding feature. Release package: edit
default_build/. Helm: supply ConfigMaps throughbranding.*.
License¶
The Portal needs an ENS Solutions license. Download an evaluation or your organization's license from the ENS licensing portal. See Licensing.
- License screen:
/admin/license, for PMO users (PMO Activities > Open License). Upload the.licfile there. It takes effect at once, without a restart. Until a license is installed, only sign-in and the license screen work. - Installation id: shown on the license screen. Enter it on the ENS licensing portal to bind a license to this installation.
- At install time:
license/license.licorENS_LICENSEin.env(release package; see step 5), orlicense.fileorlicense.existingSecret(Helm; see License).ENS_LICENSEis installed when no usable license is installed yet, or when it is a newer revision. - Where it is kept: in the database, tables
ens_license_*: back it up. Release 1.5 and earlier kept it in files,ENS_LICENSE_FILE(/var/lib/ens/mfa-portal/license.lic) andENS_LICENSE_STATE_DIR(/var/lib/ens/mfa-portal), on theens-licensevolume or the license PVC; the first start of a later release copies them into the database.
First start checklist¶
- The trust store holds the AM root certificate, and its password is set.
- The Command Client, service-account and (recommended) read-only credentials are set, and the AM roles are in place (least-privilege AM roles).
- The three role GUIDs are set.
- The database password is set, and the database accepts the Portal's user.
- The SMTP relay is reachable from the Portal.
-
application.dns.name(Helm:publicUrl) is the address users reach. - The license is installed, and you noted the installation id.
- Release package:
.env,connector.envandmysql.envare mode 600. - The database is in your backups: it holds the license and the installation id.
Verification¶
| Check | Command or action | Expected |
|---|---|---|
| Services running | ./util/compose.sh ps / kubectl -n rsa-portal get pods |
portal, connector, mysql up and portal healthy / both Deployments ready |
| Portal responds | curl -I http://localhost:8080/login (Helm: through kubectl port-forward) |
200 |
| Health | curl http://localhost:8080/actuator/health/readiness (with MANAGEMENT_SERVER_PORT set, on that port; Helm: port 9090) |
{"status":"UP"}. Readiness includes the database (db) and the Connector (connector), which is DOWN when the Connector can't be reached over HTTPS or can't open an AM admin session. |
| Connector | ./util/compose.sh exec connector curl -s http://localhost:8080/app/health |
UP |
| Helm test | helm test rsa-portal -n rsa-portal |
Succeeded |
| Logs | ./util/compose.sh logs portal or logs/rsaapp-portal.log / kubectl -n rsa-portal logs deploy/rsa-portal-rsa-operations-portal |
No startup exceptions (datasource, Flyway, SMTP test-connection, Connector TLS), and a License: line. The Connector log has no warning that rsa.readonly.user.id is not set |
| License | /admin/license as a PMO user |
The license state, licensee and features; the installation id |
| Sign-in | Browse to /login and sign in with an AM user and SecurID passcode |
Home page. Users holding a mapped admin role see the Trusted Agent Activities, Token Management or PMO Activities menus. |
Bootstrap the first PMO user
The Portal derives roles only from AM administrative roles. To get the first administrator, assign the AM administrative role whose GUID is in role.mapped.2.rsaSecurityGuid (PMO) to a user in the AM Security Console. That user can then install the license and manage roles inside the Portal (Admin Guide).