The sg_internal_users.yml have different user passwords from the password I generated using the certification script.
Here are the steps I followed:
Generating certificates ‘./gen_client_node_cert.sh kirk change capass’
Generating sgadmin ‘./sgadmin.sh -ts truststore.jks -tspass changeit -ks kirk-keystore.jks -kspass changeit -cd …/sgconfig -icl -nhnv’
Accessing localhost:9200, entering username and password of ‘kirk’ and ‘changeit’ and it doesn’t work. I tried again with ‘kirk’ as the password, and it worked. I look to see where ‘kirk’ password is set and I found the following search-guard-2/sgconfig/sg_internal_users.yml
#password is: kirk
‘kirk’ is not the password I created for kirk, so I assume the ‘sg_internal_users.yml’ is part of the plugin, the question is how can I regenerate with the users and passwords I am creating.