Securing Tanium connections and operations through digital keys
Tanium keys overview
Use the Key & Trust Management page to manage the digital keys that the Tanium Core Platform uses to secure various connections and operations. For example, your organization might have a policy for periodic key rotation or you might distribute keys to install Tanium Clients on new endpoints that join your network. The following connections and operations use Tanium keys:
-
Platform server and Tanium Client connections
Tanium Core Platform servers and Tanium Clients secure their interconnections using the Tanium™ Protocol, which uses TLS 1.3 as described in TLS communication. The Tanium Core Platform also supports TLS for connections that various Tanium solutions require. For more information, see the user guides for your solutions at the .
-
External server and client connections
Tanium Core Platform servers communicate with external servers and clients, as described in Communication with external systems. External clients include the user systems that connect to Tanium Console and the Tanium™ API over HTTPS. To manage the certificates for Console and API access, see Securing Console and API access through certificates.
-
Content file imports
Keys are used to sign and authenticate content files that you import into the Tanium Server, as described in Authenticating content files.
To troubleshoot issues that relate to Tanium keys and certificates, see Troubleshoot certificate and key issues.
TLS communication
The Tanium Protocol uses TLS 1.3 to encrypt communication among the following Tanium Core Platform components, as illustrated in the figure Tanium Protocol communication:
|
Tanium Server to Tanium Server in an active-active deployment
Note: For some communications between active-active Servers, such as Tanium database traffic and Lightweight Directory Access Protocol (LDAP) synchronization traffic, Tanium Appliances use IPsec instead of the Tanium Protocol.
|
|
|
Tanium Servers to Zone Server Hub
Note: The figure Tanium Protocol communication shows the Zone Server Hub installed on a host that is separate from the Tanium Server hosts to illustrate that the connection is encrypted. However, in most Windows deployments and all Appliance deployments, you install the Hub on the same host(s) as the Tanium Servers.
|
|
|
Zone Server Hub to Zone Server |
|
|
Tanium Clients (external) to Zone Server |
|
|
Tanium Clients (internal) to Tanium Servers |
|
|
Tanium Client to Tanium Client (external and internal) |
TLS is enabled by default for communication among platform components. For more information about TLS, and the steps to enable or disable it, see:
Communication with external systems
Tanium keys secure only Tanium traffic. Your enterprise public key infrastructure (PKI) governs the security of non-Tanium traffic among the endpoints in your network.
Tanium Core Platform servers might communicate with external servers for operations such as downloading packages (see Enabling authentication between platform servers and remote systems) or synchronizing with LDAP servers (see Importing and authenticating users through LDAP). The Tanium Server also communicates with external client systems when users access Console. External servers and clients require digital keys with a minimum bit size of 2048 for RSA and 256 for ECDSA to communicate with Tanium Core Platform servers. If your Tanium license includes Tanium Certificate Manager, see Console dashboard for the steps to check the key sizes in your environment. Otherwise, use OpenSSL from a CLI to check the key sizes.
Root keys
When you install the Tanium Server, it automatically generates a public-private root key pair. These root keys are at the top of the Tanium key infrastructure and are required for all subordinate keys to secure connections among Tanium Core Platform components. You deploy the root public key to the Zone Server, Zone Server Hub, and Tanium Clients during installation or upgrade so that these components can secure communication with the Tanium Server. In an active-active deployment, each Tanium Server has its own root key pair that it uses to secure communication with its peer.
The Tanium Server uses separate root key pairs for TLS communication with Tanium Clients based on their version. Initially after a fresh installation or upgrade, Tanium Client 7.6 or later uses the root public key that has the name <Tanium Server FQDN> Root 0, as shows in the figure Tanium root public keys. Each new root public key that you create for version 7.6 or later has a unique name in the format <Tanium Server FQDN> Root <#>.
To view details about the root keys, see View root key information.
The Tanium Server, Zone Server, Zone Server Hub, and Tanium Clients generate subordinate keys locally and request a digital signature for each key pair. The responding server uses a private key to generate the signatures and returns the associated public key along with the signatures to enable TLS communication among the requesting servers and Clients.
Subordinate key types
The Tanium Core Platform uses the following subordinate keys, as shown in the figure Digital keys in the Tanium Core Platform:
|
Type |
Description |
|---|---|
|
TLS keys |
Each Tanium Core Platform server and Tanium Client uses TLS keys to enable TLS communication with other servers and Clients. The Tanium Server uses the root private key to generate signatures for the platform server TLS keys ( |
|
Message-signing keys |
The Tanium Server uses this key pair to sign messages (such as for action packages) that it sends to Tanium Clients. The Tanium Server uses the root private key to generate a signature for the message-signing key pair ( |
|
Intermediate TLS keys |
TheTanium Server uses an intermediate TLS private key to generate signatures for the TLS keys of internal Tanium Clients that report to that Server ( |
In an active-active deployment, each Tanium Server has its own root key pair.
To enable communication among the Tanium Core Platform servers, you must also enable trust. For more information, see Synchronizing active-active Tanium Servers and Enabling communication between Zone Servers and Hubs.
Rotation intervals for subordinate keys
Tanium Core Platform components automatically generate new subordinate key pairs when it is time to rotate them. For example, Tanium Clients renew their TLS keys four hours (the renewal window) before the end of each seven-day validity period (expiration interval) by default. The renewal windows ensure components have enough time to re-establish trust in the Tanium environment before the current keys expire.
|
Key |
Purpose |
Rotation properties and settings |
|---|---|---|
|
Tanium Server TLS keys |
The Tanium Server uses this key pair for communication with another Tanium Server (in an active-active deployment), the Zone Server Hub, or Tanium Clients. |
Rotation interval: 60 days Setting: pki_server_tls_key_duration_days Renewal window: 4 hours Setting: pki_server_tls_key_renewal_window_hours |
|
Message Signing Keys |
The Tanium Server uses this key pair to sign messages (such as for action packages) that it sends to Tanium Clients. |
Rotation interval: 180 days Setting: pki_message_signing_key_duration_days Renewal window: 4 hours Setting: pki_message_signing_key_renewal_window_hours |
|
Tanium Zone Server Hub TLS keys |
The Zone Server Hub uses this key pair for TLS communication with the Tanium Server and Zone Server. |
Rotation interval: 60 days Setting: pki_hub_tls_key_duration_days Renewal window: 4 hours Setting: pki_hub_tls_key_renewal_window_hours |
|
Tanium Zone Server TLS keys |
The Zone Server uses this key pair for TLS communication with the Zone Server Hub and Tanium Clients. |
Rotation interval: 60 days Setting: pki_zoneserver_tls_key_duration_days Renewal window: 4 hours Setting: pki_zoneserver_tls_key_renewal_window_hours |
|
Tanium Client CA TLS keys |
The Zone Server or Tanium Server uses this key pair to provide digital signatures for Tanium Clients when the Clients generate new TLS key pairs. |
Rotation interval: 180 days Setting: pki_client_tls_ca_key_duration_days Renewal window: 168 hours (7 days) Setting: pki_client_tls_ca_key_renewal_window_hours |
|
Tanium Client TLS keys |
Tanium Clients use this key pair for TLS communication with each other and with the Zone Server or Tanium Server. |
Rotation interval: 7 days Setting: pki_client_tls_key_duration_days Renewal window: 4 hours Setting: PKIClientTLSKeyRenewalWindowHours |
Key rotation
Although root keys never expire, you can rotate them, which means generating new keys and revoking the old keys. Rotating keys is useful if your organization has a policy for periodic key rotation or the security of the active keys is in doubt. If the security of the active root keys is in doubt, rotate them immediately.
Tanium Clients that are offline when you rotate keys acquire the new keys and resume regular operations upon coming online as long as those Clients were initialized with the correct tanium-init.dat file. For more information, see Download infrastructure configuration files (keys).
On the Key & Trust Management page, the name legacy-root identifies the root keys for Tanium Client 7.2. You cannot rotate the legacy-root keys and Tanium release or later does not support Client 7.2. Upgrade any Client 7.2 installations to a new Client version as described in Upgrading Tanium Clients.
To ensure the security of root private keys, Tanium Console exposes only root public keys. However, when you generate or revoke a public key, the Tanium Server automatically generates and revokes the private key. Furthermore, when you rotate the root keys, the Tanium Core Platform automatically rotates all subordinate keys. Regardless of whether you rotate the root keys, the subordinate keys automatically rotate at configurable intervals.
The following steps summarize the workflow for rotating keys:
-
(Optional best practice) On each Tanium Server, encrypt the pki.db file that contains the root keys, Tanium Server TLS keys, and message-signing keys. This is a one-time only task that you perform to prevent unauthorized access to the keys. For more information, see Encrypt the root keys database.
-
If your organization has a key rotation policy, configure automatic rotation for subordinate keys to match the policy. This is a one-time only task, unless your policy changes. For more information, see Rotation intervals for subordinate keys.
-
Generate a new root public key. The Tanium Server automatically generates a new corresponding private key and triggers the creation of new subordinate keys. For more information, see Generate root keys.
As a best practice, wait one week before revoking the old root keys to ensure that the process of generating new keys finishes for all Tanium Core Platform components. When you revoke, any components that did not finish this process expend more processing resources and network traffic to generate new keys. However, if the security of the root keys is in doubt, revoke the old keys immediately after generating the new keys.
-
Revoke the old root public key. The Tanium Server automatically revokes the associated private key and propagates the revocation directive for the old root keys and subordinate keys to all Tanium Core Platform components. For more information, see Revoke root keys.
-
(Best Practice) Back up the Tanium deployment immediately before and after revoking the root keys. If recovery becomes necessary, you must restore the deployment from the post-revocation backup. However, the pre-revocation backup might contain information that is useful for recovery planning. The backup steps depend on your Tanium infrastructure:
-
Tanium Appliance redundancy, backup, and recovery (a core backup is sufficient)
-
Back up Tanium Core Platform Servers and databases
Note: If you configure the Tanium Server to integrate with a hardware security module (HSM), you cannot use a backup of pki.db to install a cryptographically identical duplicate of the Server.
-
HSM integration
If you configure the Tanium Server to integrate with a hardware security module (HSM) for storing and managing keys, all key operations occur on the HSM even when you use Tanium Console to initiate those operations. For more information, see Securing keys with an HSM in a Windows deployment.
View root key information
The page shows a tile for each root public key that is active, as shown in figure Tanium root public keys. In an active-active deployment, the page displays the keys for both Tanium Servers, but only after you approve trust between them. For more information, see Synchronizing active-active Tanium Servers. You can identify keys by their Fingerprint, which is the hash digest of the key, and by the Tanium Server Name.
You can also see details about root key operations, such as who generated or revoked a key and when:
- From the Main menu, go to .
- Review the entries in the All Root Keys grid, as shown in figure Keys activity log.
Encrypt the root keys database
As a best practice to prevent unauthorized access, specify a password to encrypt the root keys that the Tanium Server stores in the pki.db file.
Set the encryption password
Encrypt the root keys by adding the PKIDatabasePassword setting.
- From the Main menu, go to and click Add Setting.
- For the Setting Type, select Local.
- For the Platform Setting Name, enter PKIDatabasePassword.
- Set the Value Type to Protected.
- Enter the password Value and click Save.
Change the encryption password
After adding the PKIDatabasePassword setting, you can later change the password.
Generate root keys
You can generate additional active public-private root key pairs for each Tanium Server. Perform this task on each Server in an active-active deployment.
- From the Main menu, go to .
- Click Create New Key. The page shows the root public key details in a new tile.
Revoke root keys
To prevent communication disruptions among Tanium Core Platform components, you cannot revoke a root key pair until you first generate a new key pair to replace it. Review the Key rotation workflow before revoking the old root key pair. You must revoke keys on both Tanium Servers in an active-active deployment.
-
Tanium Appliance redundancy, backup, and recovery (a core backup is sufficient)
Revoke keys as follows:
- From the Main menu, go to .
- Click Revoke Key in the tile of the public key.
Download infrastructure configuration files (keys)
The Tanium Zone Server, Tanium Zone Server Hub, and Tanium Client must authenticate to the Tanium Server to enable communication with it. The Zone Server, Hub, and Client authenticate by using keys (including the root public key) that are inside the initialization bundle (tanium-init.dat). After you download the initialization file from the Tanium Server, you can deploy the file to every Zone Server, Hub, and Client.
To deploy tanium-init.dat, see the relevant user guide:
-
Tanium Clients: Tanium™ Console .
-
Zone Server and Hub:
-
Tanium Appliance User Guide:
-
Protect the tanium-init.dat file
Be careful not to allow the tanium-init.dat file to be distributed or stored outside of your organization, such as in a publicly accessible source code repository or any other location accessible from the public internet. Limit the distribution to specific use in the deployment of Tanium Clients.
Though this file does not contain private keys and cannot be used to provide control over a Tanium environment, a user with malicious intent could use it to connect an unapproved Client and use this unauthorized access to learn how your organization is using Tanium.