Securing keys with an HSM in a Windows deployment
HSM integration overview
A hardware security module (HSM) is a hardened, tamper-resistant device that organizations use to store and generate digital keys and to perform cryptographic operations with those keys, such as encryption and decryption for Transport Layer Security (TLS) communication. During these operations, the keys never leave the HSM and are therefore more secure than if you store them in a file system, such as the installation directories of Tanium Core Platform Servers. You can use any HSM that supports the standard PKCS #11 API (Cryptoki) to manage the Tanium root keys and message-signing keys. For more information about how the Tanium Core Platform uses these keys, see Securing Tanium connections and operations through digital keys.
To troubleshoot issues related to Tanium keys, see PKI log.
Integrate with an HSM
Before you begin
Perform the following tasks before configuring the Tanium deployment to use an HSM.
-
Set up the HSM. For more information, see the HSM documentation.
-
Determine the PKCS #11 module that the HSM vendor provides to support Cryptoki. The module enables communication between the Tanium Server and HSM. For example, Thales HSM provides the library cknfast.dll as the PKCS #11 module for 32-bit Windows systems.
-
Work with an HSM Security Officer (SO) to initialize tokens on the HSM to contain Tanium keys. Initialization involves assigning a token name (or ID) and personal identification number (PIN) for each token. You must know the PINs and the token names or IDs to configure the Tanium Server to authenticate to the tokens. The Server authenticates when performing operations that involve the keys in those tokens.
Note: In HSM terminology, a token is a logical view of a cryptographic device that contains keys. -
(Optional, best practice) Back up the Tanium deployment. For more information, see Back up Tanium Core Platform Servers and databases.
Tip: If you need to back up keys after integrating with an HSM, see the HSM documentation. -
Determine a maintenance window to perform the HSM integration. You must restart the Tanium Server during the process of configuring it to use an HSM, and the restart interrupts any operations that the Server is performing.
Integrate the Tanium deployment with an HSM
In an active-active deployment, Tanium Servers do not synchronize local settings, which include HSM settings. Therefore, perform the steps for adding settings and restarting the Tanium Server service on each Server.
Verify an HSM integration
After you generate new keys on an HSM, verify that the Tanium Core Platform can use the keys for communication among platform components:
- Sign in to Tanium Console as a user who is assigned a role that allows issuing questions.
- Verify that the Environment Status section on the Tanium Home page shows Tanium Clients are connected to the Tanium Server. Connectivity indicates that the root keys work properly.
- Issue any question to any number of Tanium Clients. If the Clients return results, the message-signing key works properly. For more information, see Exploring and accessing endpoints in Console and Interact.
If any verification steps fail, see Troubleshoot an HSM integration.
Disable an HSM integration
You might want to temporarily disable an HSM integration if, for example, you plan to migrate to a new HSM appliance. After completing the migration, you would configure the HSM settings with the values of the new appliance and re-enable the integration. If you do not want to use any HSM for managing keys, you can remove the integration.
Update token PINS, names, or IDs
Troubleshoot an HSM integration
If issues occur when you configure or verify an HSM integration: