To have the Carbon Black sensor on your Linux VM workload communicating with the Carbon Black Cloud through a Sensor Gateway, you must install and configure the sensor to work with the Sensor Gateway.
Prerequisites
- Ensure that you have access to the latest Carbon Black sensor for Linux version (2.13.2+).
- For information on using the Carbon Black Cloud console to install sensors on VM workloads, see VMware Carbon Black Cloud Sensor Installation Guide. If you install the sensor through the console UI, include the UseSystemCerts=true property in the /var/opt/carbonblack/psc/cfg.ini file.
- Ensure that you have the company code available. For more information, see Generate a Company Code.
Procedure
- Download the latest version of the Carbon Black sensor for Linux.
- Omit if the Sensor Gateway is already configured with CA-signed certificate. To use a self-signed certificate in the Sensor Gateway, you must add the certificate chain into the trust store.
- Copy the certificate sgw_certificate.pem file, which you intend to use for communication with the Sensor Gateway, into a known location on your Linux VM workload.
- Add the content of the self-signed certificate sgw_certificate.pem into the CA signed certificate ca-certificates.crt file on your VM workload .
cat sgw_certificate.pem >> /etc/ssl/certs/ca-certificates.crt
- Retrieve the sensor installation file by running the command:
wget <location of the sensor installation file>
- Unzip the sensor installation file:
tar -xvf <tgz installation file>
- Use the company code you previously generated to complete the sensor installation.
./install.sh‘<company_code>’ --prop UseSystemCerts=true
Results
Once your sensor is successfully installed, you can see the running Sensor Gateway in the Carbon Black Cloud console.
What to do next
If needed, you can uninstall the sensor from your Linux workload by running the command:
dpkg --purge cb-psc-sensor