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.

Note:

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;

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.

    1. Generate and download a CSR. For more information, see Generate and download a CSR.

    2. Submit the CSR to your CA.

    3. The CA returns a signed certificate and any intermediate certificates.

    4. 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.

  1. From the Main menu, go to Administration > Configuration > SSL Certificates.

    The page shows the status (such as Current or Expired), validity period (Issued Date to Expiration Date), and identifying attributes (such as fingerprint) of the current Tanium Server certificate. Icons in the following locations indicate additional information about the certificate or CSR:

    • SSL Certificates menu option: An icon indicates if the current certificate expires within 60 days Self-signed certificate or has already expired Invalid certificate.
    • SSL Certificates page: A banner at the top of the Certificate section indicates if the current Server certificate is self-signed Self-signed certificate , a CSR is pending CSR pending, or the uploaded certificate is invalid Invalid certificate.
  2. Go to the Certificate Chain section to see the details of any intermediate certificates. The section appears only if the Server certificate is part of a certificate chain.

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.

  1. From the Main menu, go to Administration > Configuration > SSL Certificates and click Generate CSR.
  2. Enter the following certificate attributes and click Submit.
    Table 1. Certificate attributes

    Attribute

    Description

    Common Name

    Enter the fully qualified domain name (FQDN) or IP address of the Tanium Server.

    Subject Alternative Names

    Enter the FQDN or IP address of the Tanium Server. Web browsers typically require a Subject Alternative Names value.

    Organization Name

    (Optional) Enter the legal name of your organization.

    Organization Unit/Department

    (Optional) Enter the unit, department, or division of your organization for which you are creating the CSR. For example, this might be the department responsible for maintaining the Tanium Core Platform.

    City/Locality

    (Optional) Enter the name of the municipality where your organization resides.

    State/Province

    (Optional) Enter the name of the state, province, region, or county where your organization is located. Do not abbreviate the name. For example, enter New York instead of NY.

    Country/Region

    (Optional) Enter the two-letter ISO code for the country where your organization resides.

    The Tanium Server automatically copies the CSR file, csr.txt, to the downloads directory on the system that you use to access the Console.

    Tip: If you later need to re-download the CSR, click Download CSR on the SSL Certificates page.
  3. Click Close when the Tanium Server finishes generating and downloading the CSR.
    Note: When the Server generates a CSR, it also generates a private key that never leaves the Server. When you upload certificates, the Server uses the key to determine the validity of the signed certificate that the CA returns. The Server uses both the certificate and key to perform the TLS handshake when securing connections to the systems of Console or API users.
  4. Submit the CSR to your CA and notify the CA of the supported hashing algorithms for signing the certificate:
    • RSA-SHA256
    • RSA-SHA384
    • ECDSA-SHA256
    • ECDSA-SHA384

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.

  1. Move the certificates to a system where you can copy files to the Tanium Server.
  2. From the Main menu, go to Administration > Configuration > SSL Certificates and click Upload Files.
  3. Drag and drop all the certificates to the Drag and drop files field or click Browse for Files and select all the certificates. Click Upload when you finish selecting files.
    Note: The Tanium Server uses the private key that it generated at the same time as the CSR to verify that the uploaded certificates are valid.
  4. In the Certificate and Certificate Chain sections, verify that the identifying attributes of the certificate (such as Common Name) are correct.