Reference: Encryption key recovery portal
The recovery portal is an optional self-service website that users can access if they forget their PIN or password. This website is typically internet-facing in a DMZ so that users who forget their PIN or password can access it from another device.
Requirements
Supported operating systems for the server hosting the recovery portal
-
Amazon Linux 2023
-
Amazon Linux 2 LTS
-
CentOS 8 and later
-
Oracle Linux (OEL) 8 and later
-
Red Hat Enterprise Linux (RHEL) 8 and later
-
Rocky Linux 8.10 and later
-
Ubuntu 22.04 LTS and later
-
Windows Server 2016 or later
-
The recovery portal installation fails if Security-Enhanced Linux (SELinux) is enabled.
-
If you attempt to install or upgrade the recovery portal on a computer that is not running a supported version of one of these operating systems, the installation fails.
Port requirements
|
Inbound |
443 |
TCP |
Allows users to access the recovery portal. |
|
Outbound |
443 |
TCP |
Allows the recovery portal to access the Tanium Server. |
Hardware requirements
-
CPU: 4 Cores
-
RAM: 8 GB
-
Hard Drive: 80 GB
Supported identity providers for authentication
These Identity Providers (IdPs) are supported for use with the recovery portal for both OpenID Connect (OIDC) and security assertion markup language (SAML):
-
Okta
-
Microsoft Entra ID
-
Oracle
-
Active Directory Federation Services (AD FS)
-
Google
Before you begin
Complete the following prerequisites before you configure the recovery portal.
Solution configuration
-
Install and configure Enforce. For more information, see Installing Enforce and Configuring Enforce.
-
Complete the endpoint encryption configuration. For more information, see Configure endpoint encryption.
DNS configuration
Verify that DNS resolution is configured correctly for the server where you will host the recovery portal.
Server names must resolve correctly. If necessary, use the local hosts file or create appropriate DNS records to ensure proper name resolution.
Obtain or create SSL certificates
Create a certificate and private key pair, named server.key and server.crt, to use to secure HTTPS traffic from the recovery portal to the user. As a best practice, create a certificate signed by a certificate authority (CA) with the common name (CN) set to the DNS name for the server that is hosting the recovery portal.
You can use a self-signed certificate for testing. Use the following OpenSSL command to generate a self-signed certificate:
.\openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
When prompted, set the Common Name (CN) to match the DNS name of the server hosting the recovery portal.
Create a Tanium persona or user and API token
Create a dedicated Tanium persona or user that has the Enforce Recovery Portal role granted, an API token to enable secure access to the recovery portal, and the appropriate computer management groups assignments.
Tanium persona or user
If you use a persona for this purpose, assign the persona to a user account. This user can be a service account or your own user account, depending on your setup.
If you assign the persona to your own user account, refresh the page or sign out of and back in to Tanium Console to ensure that the changes appear when you generate the API token.
API token
Create an API token for the recover portal to use when authenticating with the Tanium Server. For more information, see Enabling long-lived Tanium sessions through API tokens.
-
Include the IPv4 and IPv6 formats in the Trusted IP addresses: x.x.x.x/x,::/x (and not just x.x.x.x/x) or the configuration will fail.
-
Record the API token in a secure location to use when you install the recovery portal.
Note details about your configuration
Note the following identifiers for your environment to use during the configuration of the recovery portal:
-
Tanium Server API URL
-
Recovery Portal FQDN
-
User Domain Name (for sign-in)
-
SSO Redirect URL
(Microsoft Entra) Create a Microsoft Entra enterprise application and configure an identity provider
If you are using Microsoft Entra, complete these steps to create and register a custom enterprise application in Microsoft Entra to enable single sign-on (SSO) integration for the recovery portal.
Create an enterprise application
Assign users or groups to the enterprise application
To enable SSO access to the BitLocker Recovery Portal, users must be granted access to the Entra enterprise application. You can assign individual users or groups.
Set up the Identity Provider and SSO
Part 1: Configure the initial IdP Settings in Enforce
Part 2: Configure the IdP settings in Microsoft Entra
Part 3: Complete the IdP settings in Enforce
(Other Identity Providers) Set up an identity provider and SSO
The recovery portal requires OIDC or SAML authentication with Service Provider (SP) initiated SSO. You can configure a recovery portal to use more than one IdP or authentication protocol and then use content sets to associate an IdP with a user group.
Prerequisites
Complete these prerequisites before you install the recovery portal server.
Configure the recovery portal
- From the Main menu, go to to open the Enforce Overview page. Click Settings
and then click .
- Enter the following information for the recovery portal server:
- In the Recovery Portal Servers section, click Download to download the recovery portal installer for this configuration.
(Windows) Install and configure the recovery portal
(Linux) Install and configure the recovery portal
Add or update IdP providers
From the Main menu, go to to open the Enforce Overview page. Click Settings and then click Edit Identity Providers
. To edit an existing IdP, select an IdP and click Edit
. To add a new Identity Provider, click Add Identity Provider and complete the steps in the Configure the recovery portal section. After you are finished, download and install the recovery portal again. For more information, see (Windows) Install and configure the recovery portal or (Linux) Install and configure the recovery portal.
Replace the SSL certificates
Windows
Complete these steps on the machine hosting the recovery portal to replace expiring SSL certificates.
- Stop the tanium-key-recovery-portal service.
- Rename the existing certificates, which should be server.crt and server.key in the \<directory where you extracted the recovery portal installation files>\configs directory on the recovery portal server.
- Copy the new certificates to the \<directory where you extracted the recovery portal installation files>\configs directory on the recovery portal server.
- Start the tanium-key-recovery-portal service.
Linux
Complete these steps on the machine hosting the recovery portal to replace expiring SSL certificates.
- Run this command to stop the recovery portal service: sudo systemctl stop tanium-key-recovery-portal.service.
- Rename the existing certificates, which should be server.crt and server.key in the /<directory where you extracted the recovery portal installation files>/configs directory on the recovery portal server.
- Copy the new certificates to the /<directory where you extracted the recovery portal installation files>/configs directory on the recovery portal server.
- Run these commands to start the recovery portal service:
- systemctl start tanium-key-recovery-portal.service
- systemctl status tanium-key-recovery-portal.service
Update the recovery portal
Recovery portal functionality matches the associated Enforce version. When an Enforce release includes an update to the recovery portal, you must uninstall and reinstall the recovery portal using a configuration file generated from that version of Enforce. To determine whether a release requires an update to the recovery portal, check the Enforce release notes.
Uninstall the recovery portal
To uninstall the recovery portal, run the uninstall script that is located in the directory where you extracted the installation files:
-
(Linux) uninstall.sh
-
(Windows) uninstall.ps1
End user self-service workflow
After they retrieve their recovery key, they can provide the recovery key on the operating system recovery page to access the operating system.