IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

EDR: How to revoke a sensor group certificate version 6.2 and above

EDR: How to revoke a sensor group certificate version 6.2 and above

Environment

  • EDR Server: 6.2 and Above

Objective

How to revoke or invalidate a sensor certificate for a group in EDR Server 6.2 and above.

Resolution

  1. Display the active certificates
/usr/share/cb/cbssl  sensor_certs -c /etc/cb/cb.conf --list
  1. Revoke the group certificate
    1. If the group still exits, use the group id or group name
      • /usr/share/cb/cbssl sensor_certs -c /etc/cb/cb.conf --revoke --group-name <groupname>
      • /usr/share/cb/cbssl sensor_certs -c /etc/cb/cb.conf --revoke --group-id <groupid>
    2. If the group has been deleted, only the cert id can be used for identification
      • /usr/share/cb/cbssl sensor_certs -c /etc/cb/cb.conf --revoke --cert-id <certid>

Additional Notes

  • A deleted group will still have an active sensor certificate. A sensor matching a valid certificate of a deleted group will be moved to the default group automatically.
  • Revoking a sensor certificate will issue a new client cert for active sensor groups and will update sensor installers. Any old install packages for a sensor group should not be used after the certificate is revoked. 
  • The cert id is displayed with the --list switch and is 32 characters long
--- Sensor Group[1]: 'Default Group' ---
de192eb150aa4a2cbda0e64a179d88d9 - ACTIVE
  • Group Ids can be found in the browser URL when selecting the group: https://<servername>/#/hosts/<groupid>
  • It is a good idea to take a backup of the revocation list after the change in case of a recovery situation
/usr/share/cb/cbssl backup --out <path>/backup.certs

 

Related Content


Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎09-09-2020
Views:
1568
Contributors