# ELK 6.0.0 And Xpack 6.0.0 Username password is not working

**URL:** <https://discuss.elastic.co/t/elk-6-0-0-and-xpack-6-0-0-username-password-is-not-working/109196>\
**Category:** Elasticsearch\
**Created:** [November 27, 2017, 10:17am UTC](https://discuss.elastic.co/t/elk-6-0-0-and-xpack-6-0-0-username-password-is-not-working/109196 "2017-11-27T10:17:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [November 27, 2017, 10:17am UTC](https://discuss.elastic.co/t/elk-6-0-0-and-xpack-6-0-0-username-password-is-not-working/109196/1 "2017-11-27T10:17:50Z")

</div>

Hi All ,

```
can you please explain the method of username and password entering criteria in Xpack installed ELK ( 6.0.0 ). 

```

Before installing Xpack , 6.0.0, ELK is working well. Xpack installed successfully.

First I am tried in Elasticsearch with command bin/x-pack/setup-passwords interactive.

Password for E , L and K i am entered the same password "000029".

## And in kibana.yml

elasticsearch.username: "kibana"  
elasticsearch.password: "kibanapassword"

## And in logstash.yml

xpack.monitoring.elasticsearch.username: u12345(cent Os username )  
xpack.monitoring.elasticsearch.password: 000029 ( Not Centos username . As per Elastic search entry )

It is not working. Kibana showing Login in locked.

Please help me to configure these usernames and passwords properly.

E, L and K are installed on the same machine. OS is CentOS. User u12345, Password: xyz123.

u12345 is using for E, L, and K search installations.

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [November 27, 2017, 11:06am UTC](https://discuss.elastic.co/t/elk-6-0-0-and-xpack-6-0-0-username-password-is-not-working/109196/2 "2017-11-27T11:06:27Z")

</div>

Hello Rijin,

Please go through the detailed instructions in [here](https://www.elastic.co/guide/en/x-pack/current/security-getting-started.html) and [here](https://www.elastic.co/guide/en/x-pack/current/setting-up-authentication.html#set-built-in-user-passwords) . Following these steps will guarantee that you have a working and secure environment in the end.

One obvious problem I see is that in kibana.yml, you should set the password to `000029` and not `kibanapassword` as you have it now. Also `xpack.monitoring.elasticsearch.username` should probably not be the OS username, you can read more [here](https://www.elastic.co/guide/en/x-pack/current/secure-monitoring.html).

As a general note, it is a good practice to not share your passwords in public forums, even though the above seem like temporary test credentials.

---

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [November 27, 2017, 11:58am UTC](https://discuss.elastic.co/t/elk-6-0-0-and-xpack-6-0-0-username-password-is-not-working/109196/3 "2017-11-27T11:58:36Z")

</div>

Thank you Ikakavas ,

These usernames and passwords are not real. 🙂 My doubt is elasticsearch.username: "kibana" is any label or Kibana using OS user ?  
I want to inform one more thing , i am not configured SSL/TLS.

Not added this to elastisearch.yml

xpack.ssl.key: certs/${[node.name](http://node.name)}/${[node.name](http://node.name)}.key  
xpack.ssl.certificate: certs/${[node.name](http://node.name)}/${[node.name](http://node.name)}.crt  
xpack.ssl.certificate\_authorities: certs/ca/ca.crt  
xpack.security.transport.ssl.enabled: true

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [November 27, 2017, 12:10pm UTC](https://discuss.elastic.co/t/elk-6-0-0-and-xpack-6-0-0-username-password-is-not-working/109196/4 "2017-11-27T12:10:55Z")

</div>

Hi,

Let's take it one problem at a time 🙂

> My doubt is elasticsearch.username: "kibana" is any label or Kibana using OS user ?

This is not an OS user, this the [builtin user](https://www.elastic.co/guide/en/x-pack/6.0/setting-up-authentication.html) that kibana uses to connect to elasticsearch. According to the information you have shared so far, your kibana.yml file should look like

> elasticsearch.username: "kibana"  
> elasticsearch.password: "000029"

TLS/SSL is not directly related to the above problem. Once this is solved you can setup TLS using the [documentation](https://www.elastic.co/guide/en/x-pack/current/ssl-tls.html) as guidance.

---

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [November 28, 2017, 12:45pm UTC](https://discuss.elastic.co/t/elk-6-0-0-and-xpack-6-0-0-username-password-is-not-working/109196/5 "2017-11-28T12:45:41Z")

</div>

Thank you ikakavas . I will check

---

<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:** [December 26, 2017, 12:45pm UTC](https://discuss.elastic.co/t/elk-6-0-0-and-xpack-6-0-0-username-password-is-not-working/109196/6 "2017-12-26T12:45:52Z")

</div>

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