Trouble with x-pack trial-version on ELK 7

I installed ELK docker v7.0 and activated the trial version of xpack. I have mentioned "xpack.security.enabled: true" in the elasticsearch.yml.
when I check through the get /license, it shows that my trial-license is activated. The same message is reflected in the Kibana UI too, but when I try to setup the passwords for the built-in-users, I get the following error:

/# /opt/elasticsearch/bin/elasticsearch-setup-passwords interactive

Unexpected response code [500] from calling GET http://172.17.0.2: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.
ERROR: X-Pack Security is disabled by configuration.

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