** Note: Emphasize to secure snapshots of all nodes (primary and worker nodes) before making any changes.
To resolve the issue, follow the steps below to reset admin password:
-
Edit the following file: /storage/core/loginsight/cidata/cassandra/config/cqlshrc
-
In the last line: “validate = true” should be replaced with “validate = false”
-
After the password has been changed and you are able to access the UI, you can replace the expired cert by following the steps mentioned below:
-
Login to primary node UI
-
Navigate to configuration
-
Click on SSL
-
Upload your certificate .pem file
-
Validate the expiry date of the external cert from the browser and internal cert using the command: echo "" | keytool -list -keystore /usr/lib/loginsight/application/etc/3rd_config/keystore -rfc 2> /dev/null | openssl x509 -noout -enddate
Once the certificate is renewed, revert the changes done in file: /storage/core/loginsight/cidata/cassandra/config/cqlshrc.
-
Edit the following file: /storage/core/loginsight/cidata/cassandra/config/cqlshrc
-
In the last line: “validate = false” should be reverted to “validate = true”