The legacy self-signed certificate and key were overwritten in /etc/cb/certs/ causing sensors to go offline.
Server is denying the handshake from the sensors due to mismatched certificates.
psql -p 5002 cb -x -c "select thumbprint from server_certs where name = 'Legacy';"
openssl x509 -in /etc/cb/certs/cb-server.crt -fingerprint -sha1 | grep 'SHA'
psql -p 5002 cb -X -A -w -t -c "select x509_cert from server_certs where name = 'Legacy';" -o /etc/cb/certs/cb-server.crt
psql -p 5002 cb -X -A -w -t -c "select private_key from server_certs where name = 'Legacy';" -o /etc/cb/certs/cb-server.key
openssl x509 -text -nouout -in /etc/cb/certs/cb-server.crt
openssl rsa -in /etc/cb/certs/cb-server.key -check
Standalone:
/usr/share/cb/cbservice cb-enterprise restart
Cluster:
/usr/share/cb/cbcluster stop && /usr/share/cb/cbcluster start
/usr/share/cb/cbcluster sync-certs