How to enable Elastic-Search Security on one node Single cluster

Hey everyone !

I'm currently following these two tutorial to enable elasticsearch security which is now free, but in these two tutorials, it's specified only for two node-cluster and i only have one,

my default elastic-search directory is located at /usr/share/elasticsearch/
and the configuration file like the elasticsearch.yml is located at /etc/elasticsearch

I tried to adapt the tutorial as i could, but when i had to execute bin/elasticsearch and bin/elasticsearch-setup-password auto, i got errors of refused connection.

My question is, how to adapt this tutorial for a one node cluster, thank you in advance !

these are the links to the tutorials

[](http://Blog Post)
[](http://Video tutorial)

"refused connection" indicates your es instance is probably not running, can you check the elasticsearch.log ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.