Smarsense was not working , hst server as well agents were getting down , I did these three steps to get it up and it worked but wanted to under stand why did it work ? because after restart same keys could be created in same file why removing of these keys worked for me :
please find below steps I have followed in order to insure hst-server and agents get up :
1. Remove all the old certificates and keys from hst-server by using below commands :
Hostname changes also might cause certificate name mismatch from the already generated certificates and can cause this kind of issue, In such scenarios we will need to regenerate the SSL keys. We can also do "# hst reset" in order to reset the HST server SSL certificate database, which forces all HST agents to regenerate their certificates.
I faced the same issue and on application of these commands it worked but Even after the hst server/agent are up, smartsense is still not able to collect data. The queries are not populating any data. Why is that happening? @Jay Kumar SenSharma Please can you help.