Securing Console and API access through certificates
Overview of SSL/TLS certificates
You can replace the Tanium Server certificate that secures user access to Tanium Console or the Tanium API in accordance with the certificate rotation policy of your organization. Console and the API communicate over HTTPS, which uses TLS certificates to secure client-server connections.
In the context of Console and API access, the user system is the client and the Tanium Server is the server. As part of the TLS handshake that secures the connection, the Tanium Server proves its identity to the client by presenting its server certificate. By default, the server certificate is the self-signed certificate that the Tanium Server generates during installation. The security best practice is to replace the self-signed certificate with one that a certificate authority (CA) has signed. In an active-active deployment, you can use Console to replace the certificate that is specific to each Tanium Server, but you cannot use Console to apply a single certificate to both Servers.
For Console and API access, clients do not have to prove their identity to secure connections with the Tanium Server.
For more information about the certificate requirements and TLS connection process, see;
-
Secure Tanium Console, API, and Module Server access on Tanium Appliances
-
Securing Tanium Console, API, and Module Server access in a Windows deployment
To manage the certificates that enable the Tanium Core Platform and Tanium solutions to connect with remote systems, see Enabling authentication between platform servers and remote systems.
Users require a role with Https Certificates read permission to view SSL/TLS certificates and certificate signing requests (CSRs). The Administrator reserved role has this permission and is the only role with permission to generate CSRs and upload new certificates.
Before you begin
-
Replacing the Tanium Server certificate involves the following tasks. This guide describes only the first and last tasks. To perform the other tasks, you must first work with your CA to establish a process for submitting certificate signing requests (CSRs) and receiving signed certificates.
-
Generate and download a CSR. For more information, see Generate and download a CSR.
-
Submit the CSR to your CA.
-
The CA returns a signed certificate and any intermediate certificates.
-
Upload the signed certificates to Tanium Console. For more information, see Upload certificates.
-
-
The CA has a signing certificate and associated private key that it uses to sign the requested Tanium Server certificate. For certificate validation to succeed during a TLS handshake, the CA signing certificate must be present on the systems from which users access the Console or API. If the CA provides a certificate chain along with the signed certificate, the chain includes the CA signing certificate. If the CA does not provide a chain, ensure the CA signing certificate exists in the required location:
-
Console: The CA signing certificate must be in the trusted certificates store of user browsers.
Note: Browser certificate stores typically contain the CA signing certificates of many third-party CAs without users needing to manually copy the certificates there. -
API: The CA signing certificate must be in the location specified in API calls, as shown in the ‑‑cacert <file path> option of the following example:
CODE$ curl -s --cacert <file path> -X POST --data-binary @<sign in>.json https://localhost/api/v2/session/login
-
View details for the current certificates or CSR
Perform the following steps to view details about the certificate or CSR for a Tanium Server. In an active-active deployment, perform the steps on each Server.
Generate and download a CSR
Perform the following steps to generate and download a CSR. In an active-active deployment, repeat the steps on each Tanium Server to generate a separate CSR for each Server. After you submit the CSRs to the CA, it returns signed certificates that you then upload on the Servers.
Upload certificates
After your CA processes the CSR and returns a signed certificate and any intermediate certificates, upload all the certificates. In an active-active deployment, perform the following steps on each Tanium Server.