# Kibana Login page is not working

**URL:** <https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [August 19, 2020, 8:49am UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551 "2020-08-19T08:49:12Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![AKumar123](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@AKumar123](https://discuss.elastic.co/u/AKumar123)\
**Post date:** [August 19, 2020, 8:49am UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/1 "2020-08-19T08:49:12Z")

</div>

I want to implement Kibana Login page ,I tried all the settings can any body help me.

---

<div class="post-metadata">

**Author:** ![tiagocosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiagocosta/32/40045_2.png) [@tiagocosta](https://discuss.elastic.co/u/tiagocosta)\
**Post date:** [August 19, 2020, 2:07pm UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/2 "2020-08-19T14:07:25Z")

</div>

@AKumar123 be sure you're using Kibana and Elasticsearch 6.8+ and you are running a default distribution with the basic license enabled. Then you can refer to that blog post to proceed with the rest: [https://www.elastic.co/blog/getting-started-with-elasticsearch-security](https://www.elastic.co/blog/getting-started-with-elasticsearch-security)

Cheers

---

<div class="post-metadata">

**Author:** ![AKumar123](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@AKumar123](https://discuss.elastic.co/u/AKumar123)\
**Post date:** [August 19, 2020, 2:41pm UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/3 "2020-08-19T14:41:27Z")

</div>

I tried this also ,I feel that i am doing some silly mistake can you please connect me on Team Viewer for help.

---

<div class="post-metadata">

**Author:** ![AKumar123](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@AKumar123](https://discuss.elastic.co/u/AKumar123)\
**Post date:** [August 19, 2020, 3:09pm UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/4 "2020-08-19T15:09:38Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/e/d/ed563fa420e97a81bb58351633e60fdfa124e54e.png)

---

<div class="post-metadata">

**Author:** ![tiagocosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiagocosta/32/40045_2.png) [@tiagocosta](https://discuss.elastic.co/u/tiagocosta)\
**Post date:** [August 19, 2020, 4:50pm UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/5 "2020-08-19T16:50:43Z")

</div>

@AKumar123 it seems to me that you had password protected your keystore when you ran `elasticsearch-certutil` so you will need to the following commands, one by one, wrote the password you defined for each and then restart the elasticsearch instances in the end:

```auto
bin/elasticsearch-keystore add xpack.security.http.ssl.keystore.secure_password

bin/elasticsearch-keystore add xpack.security.http.ssl.truststore.secure_password

bin/elasticsearch-keystore add xpack.security.transport.ssl.keystore.secure_password

bin/elasticsearch-keystore add xpack.security.transport.ssl.truststore.secure_password

```

Also be sure you have defined the location of your `.p12` files correctly both for master and the node.

You can find more info in a similar issue [Problem with keystore password was incorrect](https://discuss.elastic.co/t/problem-with-keystore-password-was-incorrect/168950) or a complete guide on [https://www.elastic.co/guide/en/elasticsearch/reference/7.8/configuring-tls.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.8/configuring-tls.html)

---

<div class="post-metadata">

**Author:** ![AKumar123](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@AKumar123](https://discuss.elastic.co/u/AKumar123)\
**Post date:** [August 19, 2020, 5:18pm UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/6 "2020-08-19T17:18:23Z")

</div>

@tiagocosta thank you very much for your Quick help.I appreciate your efforts which you have done.  
It worked fine 🙂

Can is it possible i can create a role which will show only dashboard page,Nothing else even stack managment page also should not visible.

---

<div class="post-metadata">

**Author:** ![AKumar123](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@AKumar123](https://discuss.elastic.co/u/AKumar123)\
**Post date:** [August 19, 2020, 6:02pm UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/7 "2020-08-19T18:02:21Z")

</div>

I hosted the service and for that i did change in yml file of node and master.Later i notice that both the services can not run together.For that there is any solution If i am running both the Services of Elastic,Even i changed the port also.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/0/c04a12bf7205347b50d3be7ff3d33ca3a9a09f03.png) ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/a/5a40e4ea30a8970eed568cf49c07e611badc91ee.png) ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/1/31a08c9bdea0e8b97537f1c05cf1277fe97b0d77.png)

---

<div class="post-metadata">

**Author:** ![AKumar123](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@AKumar123](https://discuss.elastic.co/u/AKumar123)\
**Post date:** [August 19, 2020, 6:29pm UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/8 "2020-08-19T18:29:52Z")

</div>

I have one more Question this Security Feature will be enabled on for when Trail license is active or in future also i can use it.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/e/de3d1ea6eed6ef19bef9e0367a09e6940d9cd69b.png)

---

<div class="post-metadata">

**Author:** ![tiagocosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiagocosta/32/40045_2.png) [@tiagocosta](https://discuss.elastic.co/u/tiagocosta)\
**Post date:** [August 20, 2020, 3:42am UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/9 "2020-08-20T03:42:21Z")

</div>

> I hosted the service and for that i did change in yml file of node and master.Later i notice that both the services can not run together

Probably you can't bind the node to 0.0.0.0. Try to only bind the master.

> I have one more Question this Security Feature will be enabled on for when Trail license is active or in future also i can use it.

It should also be available in the basic license when the trial expires. For more information please visit: [Subscriptions | Elastic Stack Products & Support | Elastic](https://www.elastic.co/subscriptions)

> Can is it possible i can create a role which will show only dashboard page,Nothing else even stack managment page also should not visible.

You can do that using Spaces: [Spaces | Kibana Guide [master] | Elastic](https://www.elastic.co/guide/en/kibana/master/xpack-spaces.html#spaces-control-feature-visibility)

---

<div class="post-metadata">

**Author:** ![AKumar123](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@AKumar123](https://discuss.elastic.co/u/AKumar123)\
**Post date:** [August 25, 2020, 6:07am UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/10 "2020-08-25T06:07:25Z")

</div>

While Running Kibana.bat I am getting this error:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/e/2e3a92424815b11244ad64693c3faa0728440ca9.png)

---

<div class="post-metadata">

**Author:** ![tiagocosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiagocosta/32/40045_2.png) [@tiagocosta](https://discuss.elastic.co/u/tiagocosta)\
**Post date:** [August 25, 2020, 12:01pm UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/11 "2020-08-25T12:01:05Z")

</div>

@AKumar123 you need to uncomment `elasticsearch.username` and `elasticsearch.password` in your kibana.yml

Cheers

---

<div class="post-metadata">

**Author:** ![AKumar123](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@AKumar123](https://discuss.elastic.co/u/AKumar123)\
**Post date:** [August 25, 2020, 7:13pm UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/12 "2020-08-25T19:13:14Z")

</div>

Yes it worked fine ,I was using two services of Elastic at same port.

---

<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:** [September 22, 2020, 7:13pm UTC](https://discuss.elastic.co/t/kibana-login-page-is-not-working/245551/13 "2020-09-22T19:13:19Z")

</div>

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