# X-pack security for elastic search

**URL:** <https://discuss.elastic.co/t/x-pack-security-for-elastic-search/137523>\
**Category:** Elasticsearch\
**Created:** [June 26, 2018, 11:55pm UTC](https://discuss.elastic.co/t/x-pack-security-for-elastic-search/137523 "2018-06-26T23:55:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krishna2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krishna2/32/20893_2.png) [@Krishna2](https://discuss.elastic.co/u/Krishna2)\
**Post date:** [June 26, 2018, 11:55pm UTC](https://discuss.elastic.co/t/x-pack-security-for-elastic-search/137523/1 "2018-06-26T23:55:04Z")

</div>

1. I had setup x-pack security in elastic search.yml. I had enabled xpack.secuirty.enabled: true and using 30 trial license. When I try to access localhost :9200 it is asking userid and password. I know only super user 'elastic'. But I did not find password. What is the default password ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 27, 2018, 12:00am UTC](https://discuss.elastic.co/t/x-pack-security-for-elastic-search/137523/2 "2018-06-27T00:00:22Z")

</div>

Did you run through all the steps here - [https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-security.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-security.html)?

---

<div class="post-metadata">

**Author:** ![Krishna2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krishna2/32/20893_2.png) [@Krishna2](https://discuss.elastic.co/u/Krishna2)\
**Post date:** [June 27, 2018, 2:33am UTC](https://discuss.elastic.co/t/x-pack-security-for-elastic-search/137523/3 "2018-06-27T02:33:37Z")

</div>

Yes. I did that. I had enabled security credential also. What is happening when I start my Elastic search server and goes to browser [http://localhost:9200](http://localhost:9200) it pops a screen asking userid/password. I had found default super user password is 'elastic' but I did not find any password. when I try to update thru curl xput ...  
etc. (it is a way to update password given in documents) and still asking user id and password.

I got stuck and I need some help

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 27, 2018, 3:32am UTC](https://discuss.elastic.co/t/x-pack-security-for-elastic-search/137523/4 "2018-06-27T03:32:33Z")

</div>

If you ran `bin/elasticsearch-setup-passwords interactive` then you should have defined all of that?

---

<div class="post-metadata">

**Author:** ![Krishna2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krishna2/32/20893_2.png) [@Krishna2](https://discuss.elastic.co/u/Krishna2)\
**Post date:** [June 27, 2018, 3:56am UTC](https://discuss.elastic.co/t/x-pack-security-for-elastic-search/137523/5 "2018-06-27T03:56:51Z")

</div>

Thanks i could not change now. When I run thru curl xput etc... it is asking uerid and password.

I had changed my elastic/kibana/logstash/beats passwords.

But still I have problem in getting in Kibana management console for Logstash.

Issue

1. In Elastic x-pack installed in bin folder.

2. plugins is empty

3. Logstash throws an error stating that x-pack is installed in logstash and not in Elasticsearch

4. Actually x-pack plugin is installed in elasticsearch it comes with default in latest release of Elasticsearch.

Please help me

regards

Krishna2

---

<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 25, 2018, 3:56am UTC](https://discuss.elastic.co/t/x-pack-security-for-elastic-search/137523/6 "2018-07-25T03:56:53Z")

</div>

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