Kibana Server :Authentication Exception


(Sukesh) #1

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

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

plugin:elasticsearch Authentication Exception


(Mark Walkom) #2

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


(Mark Walkom) #4

You've asked that here as well - ENOTFOUND exception in installing shield in kibana in offline mode! - so let's continue the discussion there.


(Sukesh) #5

sure mark, we wil continue the discuss there


(Sukesh) #6

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?


(Tyler Smalley) #7

@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.


(Sukesh) #8

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


(Tyler Smalley) #9

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


(Sukesh) #10

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


(Tyler Smalley) #11

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


(Sukesh) #12

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


(Tyler Smalley) #13

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.



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=:


(Sukesh) #14

Okay @tsmalley, thank you


(Mark Walkom) #15