- 
Go to
/opt/searchblox/elasticsearch/plugins/opendistro_security/tools - Switch to root user using the command 
sudo su - You can also run 
bash hash.shfor the same result. - 
You will get a prompt for a password, enter the desired password
 - 
You will get the hash value for your new password
 - 
Copy the hash value and provide it across hash value for admin user in
/opt/searchblox/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml - 
Go to
/opt/searchblox/elasticsearch/plugins/opendistro_security/tools - 
Run the following command
 
bash securityadmin.sh -cd ../securityconfig/ -icl -nhnv -cacert /opt/searchblox/elasticsearch/config/root-ca.pem -cert /opt/searchblox/elasticsearch/config/kirk.pem -key /opt/searchblox/elasticsearch/config/kirk-key.pem
- 
After running the command, your password for elasticsearch will be updated; It is not required to restart elasticsearch.
 - 
You can access https://localhost:9200 now and provide the new password for login.
 - 
After completing all the elasticsearch related steps mentioned above, update the password in
/opt/searchblox/webapps/ROOT/WEB-INF/searchblox.ymlsearchblox.basic.password: password@123 - 
Restart SearchBlox for the changes to take effect.
 
To learn more on Elasticsearch in SearchBlox read: Elasticsearch in SearchBlox
Comments
0 comments
Please sign in to leave a comment.