# Not able to configure security on ElasticSearch 5.4.0

**URL:** <https://discuss.elastic.co/t/not-able-to-configure-security-on-elasticsearch-5-4-0/88613>\
**Category:** Elasticsearch\
**Created:** [June 7, 2017, 5:52pm UTC](https://discuss.elastic.co/t/not-able-to-configure-security-on-elasticsearch-5-4-0/88613 "2017-06-07T17:52:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hanish\_Bansal](https://avatars.discourse-cdn.com/v4/letter/h/e36b37/32.png) [@Hanish\_Bansal](https://discuss.elastic.co/u/Hanish_Bansal)\
**Post date:** [June 7, 2017, 5:52pm UTC](https://discuss.elastic.co/t/not-able-to-configure-security-on-elasticsearch-5-4-0/88613/1 "2017-06-07T17:52:53Z")

</div>

Hi All,

I have upgraded ElasticSearch from 5.0.1 to 5.4.0 version. Earlier I disabled security feature via setting below property in both elasticsearch.yml and kibana.yml:-

` xpack.security.enabled: false `

Now I have commented above property to explore security feature of ElasticSearch but still ElasticSearch and Kibana are accessible without any username/password.

I have applied basic license on this cluster for 1 year.

Please let me know how can I enable basic username/password authentication on ES & Kibana?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 7, 2017, 6:05pm UTC](https://discuss.elastic.co/t/not-able-to-configure-security-on-elasticsearch-5-4-0/88613/2 "2017-06-07T18:05:19Z")

</div>

Basic license does [not include X-Pack security](https://www.elastic.co/subscriptions). In order to evaluate it you will need to install a trial license.

---

<div class="post-metadata">

**Author:** ![Hanish\_Bansal](https://avatars.discourse-cdn.com/v4/letter/h/e36b37/32.png) [@Hanish\_Bansal](https://discuss.elastic.co/u/Hanish_Bansal)\
**Post date:** [June 7, 2017, 6:12pm UTC](https://discuss.elastic.co/t/not-able-to-configure-security-on-elasticsearch-5-4-0/88613/3 "2017-06-07T18:12:52Z")

</div>

Oops!! I was expecting that native authentication of security plugin can be used without any cost. I would have to check costing of Gold license then.

Thanks for quick response Christian.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 6:13pm UTC](https://discuss.elastic.co/t/not-able-to-configure-security-on-elasticsearch-5-4-0/88613/4 "2017-07-05T18:13:00Z")

</div>

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