Managing certificates

View all certificates and details, identify risks, and manage certificates before expiration.

View all certificates

View all certificates found on endpoints by Certificate Manager.

Tip: To identify the certificates from endpoints that are not using profiles, ask the following question in Interact: Get Certificate Details from all machines with Certificate Manager - Client Extension for Certificate Audits contains No
  1. From the Main menu, go to Modules > Certificate Manager > Certificate Inventory.
  2. View the certificates. The table contains the following columns.
    Table 1. Certificate Inventory columns

    Column

    Description

    Serial Number

    Serial number of certificate

    SHA-256 Fingerprint

    Unique string of digits that identifies the certificate, generated with the SHA-256 algorithm

    SHA-1 Fingerprint

    Unique string of digits that identifies the certificate, generated with the SHA-1 algorithm

    Subject

    Entity identified by the certificate

    Issuer

    Entity that issued the certificate

    Service Instances

    Number of listening service presenting the certificate

    Each internet protocol is considered an instance. For example, if a certificate is found on port 443 for both IPv4 and IPv6, the service instances are 2.

    Authorized

    A certificate is authorized when the following conditions are met:

    • You enable the listening port scan on the Settings CogIcon-Content2-32 > Audit Settings page or in a profile.

    • Certificate Manager finds the certificate during a listening service scan.

    • You add the certificate as an authorized certificate on the Settings CogIcon-Content2-32 > Certificate Authorities page or in a profile.

    Private Key Available

    Yes or No, depending on if Certificate Manager can locate the private key

    Remaining Lifetime

    Length of time before expiration

    Issued On (UTC)

    Date and time (UTC) when the certificate was issued

    Expiration (UTC)

    Date and time (UTC) when the certificate will expire

  3. (Optional) Use any filter options to help find a specific certificate if the grid is long. The grid shows only the certificates that match all the filters that you specify.
    Important: If you enter a number greater than 0 in the Minimum Lifetime filter, only certificates found on endpoints using profiles appear on the Certificate Inventory page.
    Table 2. Certificate Inventory search and filter options

    Option

    Description

    Search by text

    Enter an alphanumeric string in the Filter items field to match text.

    Filter by listening service

    For the Listening Services filter, select Yes to show only certificates that are used by one or more listening services. Select No to only show certificates that are not used by any listening services.

    Filter by authorization status

    For the Authorized option, select All to show authorized and unauthorized certificates. Select Yes to show only authorized listening service certificates, or select No to show only unauthorized listening service certificates. Select Unknown to show at-rest certificates. Default value is All.

    Filter by private key available

    For the Private Key Available filter, select Yes to show only certificates for which Certificate Manager can locate its corresponding private key. Select No to show only certificates for which Certificate Manager cannot locate its corresponding private key. Default value is All.

    Filter by remaining lifetime

    To show active certificates that expire soon, select the options to define the time range.

  4. The following actions are available:
    Table 3. Certificate Inventory actions

    Option

    Description

    View certificate details

    In the row of the certificate that you want to view, click Certificate Details ExpandSidePanelIcon. For more information, see View certificate details.

    Export to CSV

    To download a copy of Certificate Inventory table as a CSV file, apply any filters, click Export, and then select Export to CSV. The CSV file includes the table headers and table data.

    Important: For certificates that are found on endpoints not using profiles, the Certificate Manager Inventory - Certificates:Lifetime value is empty in the CSV file. To view the accurate lifetime values for these certificates, look at the Certificate Inventory page.

    Initiate certificate replacement

    In the Actions column of the row of the certificate that you want to replace, select Actions options2 and then click Start replacement. For more information, see Replace certificate.

    Download certificate

    In the Actions column of the row of the certificate that you want to download, select Actions options2 and then click Download certificate. For more information, see Download certificate.

    Manage columns

    In the header, click Customize Columns customize-columns. To remove a column, clear the checkbox for the column. To adjust the column order, click and drag the column names.

    Refresh table data

    Click Refresh refresh. Any filters that you added apply to the updated results.

View certificate details

To view details for certificates, you must have a role with the Certificate Manager Certificate read permission.

  1. From the Main menu, go to Modules > Certificate Manager > Certificate Inventory.
  2. (Optional) Use any search and filter options to help find a specific certificate if the grid is long. For search and filter options, see View all certificates.
  3. In the row of the certificate that you want to view, click Certificate Details ExpandSidePanelIcon.
  4. The Details slide-out panel that appears contains the following sections:
    Table 4. Certificate Details sections

    Option

    Description

    Details

    Shows details for the certificate. Details include expiration, issue date, and fingerprint.

    Subject and Issuer

    Shows subject and issuer details.

    On Endpoints By Service

    Shows where the certificate is currently in use and the listening services that use the certificate.

  5. The following actions are available:
    Table 5. Available actions on the certificate details panel

    Option

    Description

    Copy fingerprint

    In the Details section, click the Fingerprint value to copy the fingerprint to your clipboard.

    Initiate certificate replacement

    Click Actions and then click Start replacement. For more information, see Replace certificate.

    Download certificate

    Click Actions and then click Download certificate. For more information, see Download certificate.

    View details for other certificates

    Choose from the following:

    • Use the View Previous Certificate Previous and View Next Certificate Next controls in the upper right of the Details panel to navigate through the details of certificates that appear on the Certificate Inventory page.

    • Close the Details panel to return to the Certificate Inventory page. From there, click Certificate Details ExpandSidePanelIcon in the row of the certificate that you want to view.

    View endpoint details

    You can view details for an endpoint in the On Endpoints By Service section. Click Endpoint Details endpoint to view basic details for the endpoint and then click View Details to open the Endpoint Details page in Tanium Reporting. For information about the Endpoint Details page, see View endpoint details.

Prepare for post-quantum cryptography

Certificates that use certain encryption algorithms are more likely to be compromised by future advances in quantum computer capabilities. Certificate Manager does not specifically scan for post-quantum cryptographic algorithms, but the Certificate Manager - Listening Service Cipher Suite Details report includes a Cipher Suite column that shows the algorithm and key length. This information is used by Certificate Manager to provide the Cipher Approval Status ratings of Approved or Not Approved.

For more information, see The White House: Memo on Migrating to Post-Quantum Cryptography.

As suggested in the White House memo, analyzing quantum computer vulnerability exposure starts with building a comprehensive, real-time inventory of all cryptographic algorithms and ciphers in use within the environment.

View listening services accepting unapproved ciphers

  1. From the Main menu, go to Modules > Certificate Manager > Overview.
  2. In the Risks section, click Unapproved Ciphers to view the ports that are accepting unapproved ciphers.

View listening service certificates by approval status

  1. From the Main menu, go to Modules > Certificate Manager > Overview.
  2. In the Risks section, click Cipher Approval Status to view the certificates by cipher approval status.

Email a report of expiring certificates with Tanium Connect

Before you begin

Ensure that you have Tanium Connect 5.9.65 or later installed.

Create a connection

  1. From the Main menu, go to Modules > Connect > Connections and then click Create Connection.
  2. In the General Information section, provide a name and optional description for the connection.
  3. In the Configuration section, configure the source and destination.
    1. For Source, select Tanium Reporting (Source Data).
    2. For Report, select one of the following reports:
      • Certificate Manager - Listening Service Certificates Expiring within 30 Days

      • Certificate Manager - Certificates Expiring within 30 Days

    3. For Destination, select Email and then provide the required information. For more information about configuring email destinations, see Configuring SMTP email destinations.
  4. In the Configure Output section, select the Format.
  5. In the Schedule section, select Enable Schedule to configure schedule preferences, and then click Save.
    Note: Schedule this connection to run at least weekly.

For more information, see Export reports through Tanium Connect.

Download certificate

To download certificates, you must have a role with the Certificate Manager Certificate read permission. If you do not have this permission, the option to download a certificate does not appear.

  1. From the Main menu, go to Modules > Certificate Manager > Certificate Inventory.
  2. (Optional) Use any search and filter options to help find a specific certificate if the grid is long. The grid shows only the certificates that match all the filters that you specify. For more information, see View all certificates.
  3. In the Actions column of the row of the certificate that you want to download, select Actions options2 and then click Download certificate.
  4. After the certificate details loads, click Download.

The downloaded certificate becomes available for selection in the Certificate Authorities section when you create or edit a profile. For more information, see Create a profile.

Replace certificate

Use Certificate Manager to replace expiring certificates, including wildcard certificates, on endpoints in your environment. Certificates contain a public key that corresponds to a matching private key. Both keys are required for cryptographic operations, such as when a listening service establishes a TLS connection with a client. The private key must be exportable.

Note: For Windows certificates, Certificate Manager currently determines if the private key is exportable only after you start the certificate replacement process.
Important: Certificate Manager is intended to replace certificates, not to create certificates.

When you start the process to replace a certificate and you select an endpoint on which to generate a new Certificate Request (CSR), the client extension generates a new private key using the algorithm and key length that you specify. The client extension enciphers the new private key using the old private key. The enciphered private key is stored in Tanium Secrets Service for a customer-defined length of time. The default period is 14 days. When you upload the new certificate issued by the Certificate Authority (CA), Certificate Manager queries all endpoints (to which you have management rights) that have the old certificate and sends the enciphered private key and corresponding certificate to the client extension. Then, you deploy one or more configuration packages to instruct the client extension to unpack the files to disk and to attempt to decipher the private key. If an endpoint cannot decipher the private key, such as if the private key is no longer available on the endpoint, you need to manually resolve the issue. If the private key is no longer available on the endpoint, you can manually copy the replacement private key from an endpoint that was able to decipher the private key and then deploy a new audit. For information about how to deploy audits, see Deploying certificate audits.

Certificate Manager does not manage the private keys. Instead, Certificate Manager generates a new private key on a workstation and then manually copies the key to each endpoint that needs the key to use the new certificate. This process reduces the attack surface to ensure that the only places where the plaintext private key exists are endpoints that need to have the key.

Before you begin

  • You must have a role with the Certificate Manager Certificate write permission and the Platform Content Package write permission. Users assigned the Certificate Manager Operator or Certificate Manager Administrator reserved roles have these permissions.

  • You can replace certificates only on endpoints in computer groups to which you have access. For information about managing computer group assignments, see Manage computer group assignments for a user.

  • The replacement steps require you to edit a script file to unpack the replacement certificate and private key on endpoints and then to deploy a Tanium package to endpoints. You must have software to edit script files, you should have experience writing and testing scripts that are written in shell script (non-Windows endpoints) or PowerShell, and you should have experience editing and deploying packages to endpoints. For information about packages, see Managing packages for platform actions.

Generate certificate signing request

To replace a certificate, find a trusted endpoint with the expiring certificate. Certificate Manager uses the private key on that endpoint to generate a new certificate. Then deploy one or more packages to apply the new certificate to endpoints with the old certificate.

  1. From the Main menu, go to Modules > Certificate Manager > Certificate Inventory.
  2. (Optional) Use any search and filter options to help find a specific certificate if the grid is long. The grid shows only the certificates that match all the filters and search text that you specify. For descriptions of search and filter options, see View all certificates.
  3. In the Actions column of the row of the certificate that you want to replace, click Actions options2, and then click Start replacement.
    Start replacement for certificate

    If the Start replacement option is disabled, no endpoints contain the minimum required version of swmgr-cx, or the audit was unable to locate the private key for the certificate. For a list of endpoint tools required by Certificate Manager, see Reference: Certificate Manager endpoint tools.

    Tip: Alternatively, you can begin the certificate replacement process when you view details for a certificate. For information, see View certificate details.
  4. From the Generate Certificate Signing Request (CSR) page, review and edit certificate details. The Certificate Details section shows configured details to apply to the new certificate request. To edit or add additional details, click Edit edit2.
  5. In the Source Endpoint section, review the trusted endpoint. To change which endpoint from which to retrieve the existing certificate (and private key), click Edit edit2 and select another endpoint, if available.
    Note: If an endpoint is missing any required tools or does not have the private key, you cannot select the endpoint for the source.
  6. Click Submit and then review all certificate details for correctness. Once the certificate replacement process starts, you cannot edit any of the details.
  7. Click Generate CSR.
    Generate CSR on endpoint

Certificate Manager opens a Direct Connect connection to the source endpoint, generates a new private key and CSR from the provided details, and then retrieves the new private key from the endpoint for distribution to other endpoints.

Download the certificate request and upload the new certificate

Download the CSR, send the request to your CA, and then upload the new certificate.

  1. Open the Certificate Replacement page from the Activity Log. Note that this page is already open if you just clicked Generate CSR from Generate certificate signing request.
    1. From the Main menu, go to Modules > Certificate Manager > Activity Log.
    2. Set the Action filter to Replacement and adjust the Timeframe filter if necessary.
    3. Find the entry for the certificate replacement and click Replace in the Action column to open the log entry.
      Find certificate replacement to replace
  2. In the Certificate Request section, click Download CSR download_2.0 to download the certificate request to a local PEM file.
    Tip: Alternatively, you can copy the certificate request to the clipboard.
  3. Send the CSR to your CA.
  4. After your CA processes the CSR and returns a new certificate, review the new certificate to ensure that the certificate meets the requirements of the endpoints to which you plan to distribute the certificate.
  5. Return to the Certificate Replacement page from the Activity Log.
  6. In the Replacement Certificate section, click Upload Replacement.
  7. Drag and drop the replacement certificate to the Drag and drop files field or click Browse for Files and select the certificate. Click Upload after you select the file.

Certificate Manager begins to distribute the certificate to endpoints that use the previous certificate. In the Target Endpoints section, you can view the status of certificate replacements for affected endpoints. Only computer groups to which you have access appear as options.

Create configuration packages

Create packages to deploy the replacement certificate to target endpoints and to configure services to use the new certificate.

  1. Open the Certificate Replacement page from the Activity Log. Note that this page is already open if you just uploaded the signed certificate.
    1. From the Main menu, go to Modules > Certificate Manager > Activity Log.
    2. Set the Action filter to Replacement and adjust the Timeframe filter if necessary.
    3. Find the entry for the certificate replacement and click Replace in the Action column to open the log entry.
      Find certificate replacement to replace
  2. In the Configuration Package section, click a template option to clone a configuration package from the template. Certificate Manager includes templates for Windows endpoints and non-Windows endpoints.
  3. (Optional) Edit the Package Name and Display Name to be more unique or descriptive.
  4. Make sure the package is assigned to the Certificate Manager Replacement Configuration Packages content set. Only packages assigned to the Certificate Manager Replacement Configuration Packages content set appear on the Certificate Replacement page.
  5. Do not edit any other fields in the package at this time.
  6. Click Save, and then click Yes to confirm that you want to save the new package.

    The Packages page opens, and a notification appears if the package is successfully saved.

  7. Find the package on the Packages page and click the Display Name to open the package.
  8. From the Preview Package page, click Edit Mode. The title of the page changes to Edit Package.

    The Files section contains two scripts based on endpoint operating systems: configure-replacement and custom-script. The configure-replacement file unpacks the replacement certificate and private key on endpoints. The custom-script file contains instructions for rotating the certificate.

  9. Edit the custom-script file to add code to rotate the certificate.
    Note: You can also edit the configure-replacement file to add code to rotate the certificate. However, for best results, make the changes in custom-script to simplify future certificate replacements. As part of normal product maintenance, Tanium might update configure-replacement and you will need to merge the Tanium updates into your version of configure-replacement.
    1. Click Download download_2.0 next to custom-script.
    2. Open the file in your preferred editor and navigate to the USER CONFIGURATION section.
    3. Follow the instructions in that section to edit the commands to back up the previous keys and rotate in the replacement keys. You might need to add additional commands to change file ownership or permissions, and to restart services.
    4. When finished, save the script file.
    Important: If you use PowerShell cmdlets that are only available with 64-bit PowerShell, you need to use a utility such as TPowershell in the package command to run the script. TPowerShell is a wrapper provided by Tanium that allows a package to run a PowerShell script in the 64-bit version of PowerShell. The template package includes TPowerShell.exe, and the template package command uses TPowerShell.exe by default.
  10. Return to the Edit Package page.
    1. From the Main menu, go to Administration> Content > Packages.
    2. Find the package on the Packages page and click the Display Name to open the package.
    3. From the Preview Package page, click Edit Mode. The title of the page changes to Edit Package.
  11. In the Files section, click Delete trash next to the existing script file.
  12. Click Add File and select Local Files.
  13. Select the updated script file and click Open.
  14. Verify that the name of the script file matches the name specified in the Command field of the Details section, and then click Save.
Repeat the steps to create more configuration packages if you need different packages to target additional endpoints.

Deploy configuration packages

Deploy the configuration packages that you created to replace certificates on target endpoints.

  1. Return to the Certificate Replacement page from the Activity Log.
    1. From the Main menu, go to Modules > Certificate Manager > Activity Log.
    2. Set the Action filter to Replacement and adjust the Timeframe filter if necessary.
    3. Find the entry for the certificate replacement and click Replace in the Action column to open the log entry.
      Find certificate replacement to replace
  2. In the Configuration Package section, verify that any configuration packages you created appear in this section. If needed, view the action log to troubleshoot.
  3. Deploy each package.
    1. Click Run next to the package.

      The Run Configuration Package page opens with prepopulated fields.

    2. Click Select Computer Groups, select the computer groups to target, and click Save.
      Note: Certificate Manager only deploys the package to endpoints which have the previous certificate in the selected computer groups.
    3. Click Show Preview to Continue, review the list of targeted endpoints, click Run, and then click Confirm.
    4. Repeat these steps for all packages that you want to run.

Verify package deployment

  1. Return to the Certificate Replacement page from the Activity Log.
    1. From the Main menu, go to Modules > Certificate Manager > Activity Log.
    2. Set the Action filter to Replacement and adjust the Timeframe filter if necessary.
    3. Find the entry for the certificate replacement and click Replace in the Action column to open the log entry.
      Find certificate replacement to replace
  2. In the Configuration Results section, verify that the packages have been deployed.

(Optional) Finalize certificate replacement

The finalization process removes the enciphered private key from secure storage on the endpoints and in Tanium Secrets Service. By default, finalization occurs automatically 14 days after you upload the replacement certificate in Certificate Manager. To remove the enciphered private key from secure storage sooner, perform the following steps.

Tip: This process only removes the enciphered private key of the new certificate. You must manually remove the previous certificate and private keys from endpoints.
  1. Return to the Certificate Replacement page from the Activity Log.
    1. From the Main menu, go to Modules > Certificate Manager > Activity Log.
    2. Set the Action filter to Replacement and adjust the Timeframe filter if necessary.
    3. Find the entry for the certificate replacement and click Replace in the Action column to open the log entry.
      Find certificate replacement to replace
  2. In the Replacement Steps section, click Finalize Replacement.
Note: You can customize the timeframe of the automatic finalization from the default of 14 days. For more information, see Configure certificate replacement settings.