# Can't access Kibana after changing password

**URL:** <https://discuss.elastic.co/t/cant-access-kibana-after-changing-password/90701>\
**Category:** Kibana\
**Created:** [June 24, 2017, 8:10am UTC](https://discuss.elastic.co/t/cant-access-kibana-after-changing-password/90701 "2017-06-24T08:10:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrowe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrowe/32/19495_2.png) [@chrowe](https://discuss.elastic.co/u/chrowe)\
**Post date:** [June 24, 2017, 8:10am UTC](https://discuss.elastic.co/t/cant-access-kibana-after-changing-password/90701/1 "2017-06-24T08:10:02Z")

</div>

Running via Docker on Ubuntu 17.04

```auto
sudo docker run -d -p 9200:9200 -p 9300:9300 -it -h elasticsearch --name elasticsearch docker.elastic.co/elasticsearch/elasticsearch:5.4.1
sudo docker run -d -p 5601:5601 -h kibana --name kibana --link elasticsearch:elasticsearch docker.elastic.co/kibana/kibana:5.4.1

```

Everything works fine until I go to the `elastic` user and change the password.

If I log out from there I get this from Chrome and something similar from Firefox. Clearing cookies for that domain does not help.

```auto
This page isn’t working

localhost redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS

```

If I don't log out and navigate to another page I get the `Status: Red` page and no longer have a link to logout.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [June 26, 2017, 10:07pm UTC](https://discuss.elastic.co/t/cant-access-kibana-after-changing-password/90701/2 "2017-06-26T22:07:10Z")

</div>

Did you update the password used by Kibana? You should add the following to the `kibana.yml` file (with your new password, of course):

```auto
elasticsearch.password: "supersecretpassword"

```

---

<div class="post-metadata">

**Author:** ![chrowe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrowe/32/19495_2.png) [@chrowe](https://discuss.elastic.co/u/chrowe)\
**Post date:** [June 27, 2017, 4:20pm UTC](https://discuss.elastic.co/t/cant-access-kibana-after-changing-password/90701/3 "2017-06-27T16:20:00Z")

</div>

Thanks. That worked.

---

<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, 2017, 4:20pm UTC](https://discuss.elastic.co/t/cant-access-kibana-after-changing-password/90701/4 "2017-07-25T16:20:08Z")

</div>

Closed on July 25, 2017, 4:20pm UTC

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