# Kibana Server :Authentication Exception

**URL:** <https://discuss.elastic.co/t/kibana-server-authentication-exception/55947>\
**Category:** Kibana\
**Created:** [July 20, 2016, 7:10am UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947 "2016-07-20T07:10:41Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 20, 2016, 7:10am UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/1 "2016-07-20T07:10:41Z")

</div>

when I am trying to starting the kibana it is showing error like Authentication Exception

C:\Users\483551\Downloads\kibana-4.5.0-windows\kibana-4.5.0-windows\bin\>kibana  
log [12:34:17.608] [info][status][plugin:sense] Status changed from uninitia  
lized to green - Ready  
log [12:34:17.614] [info][status][plugin:kibana] Status changed from uniniti  
alized to green - Ready  
log [12:34:17.644] [info][status][plugin:elasticsearch] Status changed from  
uninitialized to yellow - Waiting for Elasticsearch  
log [12:34:17.653] [info][status][plugin:kbn\_vislib\_vis\_types] Status change  
d from uninitialized to green - Ready  
log [12:34:17.656] [info][status][plugin:markdown\_vis] Status changed from u  
ninitialized to green - Ready  
log [12:34:17.664] [info][status][plugin:metric\_vis] Status changed from uni  
nitialized to green - Ready  
log [12:34:17.666] [info][status][plugin:spyModes] Status changed from unini  
tialized to green - Ready  
log [12:34:17.670] [info][status][plugin:statusPage] Status changed from uni  
nitialized to green - Ready  
log [12:34:17.673] [info][status][plugin:table\_vis] Status changed from unin  
itialized to green - Ready  
log [12:34:17.679] [error][status][plugin:elasticsearch] Status changed from  
yellow to red - Authentication Exception  
log [12:34:17.687] [info][listening] Server running at [http://localhost:5601](http://localhost:5601)

I am Not able to start the kibana ,status is showing RED

plugin:elasticsearch Authentication Exception

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 20, 2016, 10:16am UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/2 "2016-07-20T10:16:03Z")

</div>

Did you install shield?  
Did you set it up correctly? [https://www.elastic.co/guide/en/shield/current/kibana.html](https://www.elastic.co/guide/en/shield/current/kibana.html)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 20, 2016, 10:34am UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/4 "2016-07-20T10:34:22Z")

</div>

You've asked that here as well - [ENOTFOUND exception in installing shield in kibana in offline mode!](https://discuss.elastic.co/t/enotfound-exception-in-installing-shield-in-kibana-in-offline-mode/55960) - so let's continue the discussion there.

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 20, 2016, 10:36am UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/5 "2016-07-20T10:36:00Z")

</div>

sure mark, we wil continue the discuss there

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 20, 2016, 12:05pm UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/6 "2016-07-20T12:05:37Z")

</div>

hi Mark ,  
what is  
server.ssl.key: /path/to/your/server.key  
server.ssl.cert: /path/to/your/server.crt  
and how to set this path, where can i find the path?

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [July 20, 2016, 6:52pm UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/7 "2016-07-20T18:52:59Z")

</div>

@sukesh: Per config/kibana.yml

> Paths to the PEM-format SSL certificate and SSL key files, respectively. These files enable SSL for outgoing requests from the Kibana server to the browser.

Replace ` /path/to/your/server.key` with the local paths to your SSL certificate and key files.

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 21, 2016, 5:34am UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/8 "2016-07-21T05:34:05Z")

</div>

I am sorry , i did not get you , what is local paths to ssl certificate and key files ?? could you please explain me that

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [July 21, 2016, 5:33pm UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/9 "2016-07-21T17:33:58Z")

</div>

These are files which you will need to generate yourself. There are lots of helpful tutorials to help you on the internet. If you would like to grab some for testing, you can use these: [https://github.com/elastic/kibana/tree/master/test/dev\_certs](https://github.com/elastic/kibana/tree/master/test/dev_certs)

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 25, 2016, 10:00am UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/10 "2016-07-25T10:00:48Z")

</div>

hi , now the kibana is asking credentials , but if enter credentials it is throwing like wrong user credentials !

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [July 26, 2016, 10:16pm UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/11 "2016-07-26T22:16:37Z")

</div>

Is it a login page, or a basic authentication popup? Did you install Shield or any security plugins into either Kibana or Elasticsearch?

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 27, 2016, 4:17am UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/12 "2016-07-27T04:17:18Z")

</div>

Yes i was, i installed shield plugin for both kibana and elasticsearch

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [July 27, 2016, 5:07am UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/13 "2016-07-27T05:07:56Z")

</div>

It looks like you are cross posting the same question across multiple topics, please keep the questions to a single topic and it can be moved if needed.

> [@Kibana Server :Authentication Exception](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/12):
>
> Yes i was, i installed shield plugin for both kibana and elasticsearch

> [@Not able enter into the kibana with correct credentials](https://discuss.elastic.co/t/not-able-enter-into-the-kibana-with-correct-credentials/56281):
>
> Hi , i activated the kibana , asking username and password , if i enter wrong credentials it is throwing invalid username password please give me the solution for this! but if it is correct not able enter into the kibana

> [@Elasticsearch authentication failed error](https://discuss.elastic.co/t/elasticsearch-authentication-failed-error/52952):
>
> I am using elasticsearch 2.3.3 , kibana 4.5 and shield for both. I set up everything in kibana.yml My kibana.yml file is pasted below. I am getting an error while running kibana.bat log [22:22:16.344] [error][status][plugin:elasticsearch] Status changed from yellow to red - Authentication Exception I followed the steps as mentioned in[this](https://discuss.elastic.co/t/kibana-shield-configuration/45098) post. Can anyone please help? Kibana is served by a back end server. This controls which port to use. server.port: 5601 The host to bind the server to. …

If you access the Elasticsearch directly and provide the basic authentication with your credentials - do they work?

[http://localhost:9200/.kibana/\_search?pretty=true&q=\*:](http://localhost:9200/.kibana/_search?pretty=true&q=*:)\*

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 27, 2016, 5:19am UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/14 "2016-07-27T05:19:31Z")

</div>

Okay @tsmalley, thank you

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 27, 2016, 5:36am UTC](https://discuss.elastic.co/t/kibana-server-authentication-exception/55947/15 "2016-07-27T05:36:58Z")

</div>


