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: Sensors Go Offline After Revoking a Group Certificate

EDR: Sensors Go Offline After Revoking a Group Certificate

Environment

  • EDR Server: 7.5.0 +

Symptoms

After revoking a sensor group client certificate, sensors in that group go offline

Cause

Revoking a client group cert is meant to be used in the event that there is a suspected bad actor. This is expected behavior

Resolution

If many sensors are now offline and need to be reconnected, the following steps can be performed
  1. Find the cert id by your group id
    psql -p 5002 cb -c "select id from sensor_client_certs where sensor_group_id = <group_id>;"
  2. Update postgres by removing the revocation_time from the cert
    psql -p 5002 cb -c "update sensor_client_certs set revocation_time = null where id = '<cert_id_here>';"
  3.  Reload the cert into cb-datagrid
    /usr/share/cb/cbdatagrid evict SensorClientCert <cert_id_here>
  4. Give it time for sensors to connect and get the updated cert, then revoke the old cert again
    /usr/share/cb/cbssl sensor_certs --revoke --cert-id=<cert_id_here>

Additional Notes

To avoid this from happening, the following steps should be performed
  1. Move all sensors from the group to be revoked into another group, giving them some time to check in and get the update (a few hours to be safe)
  2. Revoke the cert
  3. Move the sensors back

Labels (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎10-22-2021
Views:
373
Contributors