# Installed x-pack on kibana now I've been asked to login

**URL:** https://discuss.elastic.co/t/installed-x-pack-on-kibana-now-ive-been-asked-to-login/105618
**Category:** Kibana
**Created:** [October 27, 2017, 9:15pm UTC](https://discuss.elastic.co/t/installed-x-pack-on-kibana-now-ive-been-asked-to-login/105618 "2017-10-27T21:15:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Schizo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/schizo/32/23478_2.png) [@Schizo](https://discuss.elastic.co/u/Schizo)
#### Post date: [October 27, 2017, 9:15pm UTC](https://discuss.elastic.co/t/installed-x-pack-on-kibana-now-ive-been-asked-to-login/105618/1 "2017-10-27T21:15:50Z")

</div>

I was trying out Kibana for couple of days and wanted to look into x-pack, so followed the instructions here:

[https://www.elastic.co/guide/en/kibana/current/installing-xpack-kb.html](https://www.elastic.co/guide/en/kibana/current/installing-xpack-kb.html)

restarted elasticsearch and kibana and it is asking me to log in with the error message:  
"Login is currently disabled because the license could not be determined. Please check that Elasticsearch is running, then refresh this page"

I'm shocked how easy it is to break that thing...

---

<div class="post-metadata">

### Author: ![LuigiAG](https://avatars.discourse-cdn.com/v4/letter/l/e9c0ed/32.png) [@LuigiAG](https://discuss.elastic.co/u/LuigiAG)
#### Post date: [October 27, 2017, 9:31pm UTC](https://discuss.elastic.co/t/installed-x-pack-on-kibana-now-ive-been-asked-to-login/105618/2 "2017-10-27T21:31:32Z")

</div>

You can disable the security in elasticsearch.yml by setting to false `xpack.security.enabled`

Here is some guide for xpack settings 🙂

[https://www.elastic.co/guide/en/elasticsearch/reference/5.6/security-settings.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/security-settings.html)  
[https://www.elastic.co/guide/en/elasticsearch/reference/5.6/setup-xpack.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/setup-xpack.html)

---

<div class="post-metadata">

### Author: ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)
#### Post date: [October 28, 2017, 1:14am UTC](https://discuss.elastic.co/t/installed-x-pack-on-kibana-now-ive-been-asked-to-login/105618/3 "2017-10-28T01:14:13Z")

</div>

Did you install X-Pack on Elasticsearch as well?  
You need to install it for both ES and Kibana.

---

<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: [November 25, 2017, 1:14am UTC](https://discuss.elastic.co/t/installed-x-pack-on-kibana-now-ive-been-asked-to-login/105618/4 "2017-11-25T01:14:17Z")

</div>

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