I am trying to follow the instructions on https://www.elastic.co/de/downloads/enterprise-search. Unfortunately I have problems, when configuring the yml files.
First of all, it says:
Locate config/elasticsearch.yml and add the following configuration: xpack.security.enabled: true
When I check the corresponding yml file, everything is commented out. Is that supposed to be like that? Where exactly do I have to add the configuration
xpack.security.enabled: true and do I have to comment it out aswell?
bin/elasticsearch-setup-passwords auto, I keep getting the error:
Unexpected response code  from calling GET http://127.0.0.1:9200/_security/_authenticate?pretty It doesn't look like the X-Pack security feature is enabled on this Elasticsearch node. Please check if you have enabled X-Pack security in your elasticsearch.yml configuration file.
The same problems occurs when modifying the yml file for enterprise search.