Hi, I have a fresh install of Elasticsearch. Whenever I try to add or change password of the keystore I get this error: ERROR: unable to create temporary keystore at [/etc/elasticsearch/elasticsearch.keystore.tmp], write permissions required for [/etc/elasticsearch] or run [elasticsearch-keystore upgrade]
I've installed Elasticsearch with RPM on RHEL 7.8, so this should be working, right?
The permissions on the /etc/elasticsearch folder is too low after RPM installation:
drwxr-s---. 3 root elasticsearch
I've now made 3+ fresh installs which all have this issue.
I am running these commands as user elasticsearch:
/usr/share/elasticsearch/bin/elasticsearch-keystore passwd
/usr/share/elasticsearch/bin/elasticsearch-keystore add xpack.security.transport.ssl.keystore.secure_password
Is there a way to stop elasticsearch from making the temp-keystore?