# PKI auth for kibana - is it supported?

**URL:** <https://discuss.elastic.co/t/pki-auth-for-kibana-is-it-supported/96407>\
**Category:** Kibana\
**Created:** [August 9, 2017, 9:24am UTC](https://discuss.elastic.co/t/pki-auth-for-kibana-is-it-supported/96407 "2017-08-09T09:24:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vb4t](https://avatars.discourse-cdn.com/v4/letter/v/a698b9/32.png) [@vb4t](https://discuss.elastic.co/u/vb4t)\
**Post date:** [August 9, 2017, 9:24am UTC](https://discuss.elastic.co/t/pki-auth-for-kibana-is-it-supported/96407/1 "2017-08-09T09:24:53Z")

</div>

Hello. I would like to set Kibana to use PKI auth instead of username/password. Following setting does not work:

```
elasticsearch.ssl.certificate: /app/volumes/config/certs/client.crt
elasticsearch.ssl.key: /app/volumes/config/certs/client.key

```

There are a lot of following messsages in kibana log:

`...Status changed from uninitialized to red - Authentication Exception`

Should this setting work? Is the PKI auth supported ... or will it be supported?

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [August 10, 2017, 7:10pm UTC](https://discuss.elastic.co/t/pki-auth-for-kibana-is-it-supported/96407/2 "2017-08-10T19:10:00Z")

</div>

PKI isn't well supported in 5.x. You may be running into an issue where the default username/password get sent to ES even when they're not defined in kibana.yml. I believe this should be fixed in 6.0. [beta1](https://www.elastic.co/downloads/kibana#preview-release) just shipped, so you could test it out if you like.

---

<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 7, 2017, 7:10pm UTC](https://discuss.elastic.co/t/pki-auth-for-kibana-is-it-supported/96407/3 "2017-09-07T19:10:04Z")

</div>

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