Using a custom certificate for Tanium ODJ and Tanium PXE
By default, the Tanium PXE service creates and uses a self-signed certificate for HTTPS (TLS) communication. Because these self-signed certificates are not trusted by client devices, TLS-related errors are ignored. If you cannot ignore these TLS-related errors, the self-signed certificates could be added to the “Trusted Root Authorities” for the machine (for Windows, or the equivalent on MacOS or Linux).
As an alternative, Tanium PXE can support the use of a customer-supplied certificate. This certificate must be provided as two files: a .PEM file that contains the certificate itself and a .KEY file that contains the private key for that certificate.
Although you can create a certificate in this format using multiple mechanisms, the following instructions use Active Directory Certificate Services.
Create a certificate template
Because Tanium PXE is effectively a web server, it makes sense to use a web server-based certificate template as a starting point. Because this certificate must be configured with the IP address of the computer, as a subject alternative name (SAN), and to allow exporting the private key of the certificate, a new template must be created. For more information on how to duplicate a certificate template, see Microsoft Documentation: Configure the Workstation Authentication Certificate Template.
After duplicating the Web Server template, make the following changes to the new template.
Create the certificate
On the computer where you want to use the new certificate, follow these steps to create the certificate.
Export the certificate
Convert the certificate
The Tanium PXE service requires a certificate in the PEM format, with the certificate and private key stored in separate files. You can download and use the open-source openssl utility.
Copy the certificate
After the certificate is converted, copy the TPXE.cer and TPXE.key files to <Tanium Client>\Tools\Provision\cert.
Restart the service
After the certificate and key files are copied to <Tanium Client>\Tools\Provision\cert, restart the Tanium PXE service to use the new certificates. Validate that the certificates are being used by accessing the following web sites using a browser:
-
https://<your_PXE_Server>:<your_PXE_port>/ (Example: https://10.102.1.101:17530/)
This request returns 404 page not found with no server certificate errors.
-
https://<your_ODJ_Server>:<your_ODJ_port>/ (Example: https://10.102.1.101:8100/)
This request returns Invalid request with no server certificate errors.
The HTTPS/TLS cache port for PXE and client port for ODJ are configurable in the Provision Settings . For more information, see Configure PXE settings and Configuring Provision.