Hello, I'm using elasticsearch-6.5.4 with this yml file:
xpack.security.enabled: true
xpack.license.self_generated.type: basic
i want to set interactive password via : "bin/x-pack/setup-passwords interactive" but i got this error:
" bin/x-pack/setup-passwords is deprecated, use bin/elasticsearch-setup-passwords
Sets the passwords for reserved users"
then i run "bin/elasticsearch-setup-passwords interactive", but this time there is another error:
" Unexpected response code [403] from calling GET http://127.0.0.1:9200/_xpack/security/_authenticate?pretty
It doesn't look like the X-Pack security feature is available on this Elasticsearch node.
Please check if you have installed a license that allows access to X-Pack Security feature.
ERROR: X-Pack Security is not available."
can any one help?