# Cannot sign into kibana

**URL:** <https://forum.search-guard.com/t/cannot-sign-into-kibana/1108>\
**Category:** Search Guard\
**Created:** [September 6, 2018, 7:23pm UTC](https://forum.search-guard.com/t/cannot-sign-into-kibana/1108 "2018-09-06T19:23:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Trommeshauser](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@Kevin\_Trommeshauser](https://forum.search-guard.com/u/Kevin_Trommeshauser)\
**Post date:** [September 6, 2018, 7:23pm UTC](https://forum.search-guard.com/t/cannot-sign-into-kibana/1108/1 "2018-09-06T19:23:34Z")

</div>

- Search Guard and Elasticsearch version: ES/SG Version - 6.2.3
- Installed and used enterprise modules, if any: No Enterprise Modules
- JVM version and operating system version: 1.8.0\_181/CENTOS 7.5.1804
- Other installed Elasticsearch or Kibana plugins: Kibana

I have setup, ES and Search Guard, everything is working but when I try and access Kibana it simply spits me back to the login screen without any error messages. Is there something I have done wrong, or need to check?

[kibana.yml](https://forum.search-guard.com/uploads/short-url/fnMQavuUEm34GSpKafoiPkXzoqn.yml) (1.11 KB)

[elasticsearch.yml](https://forum.search-guard.com/uploads/short-url/2SUWquoHSyRz70SYqSyOKb5GnhT.yml) (3.88 KB)

[kibana.yml](https://forum.search-guard.com/uploads/short-url/fnMQavuUEm34GSpKafoiPkXzoqn.yml) (1.11 KB)

[sg\_config.yml](https://forum.search-guard.com/uploads/short-url/vCAa1CXuQga32SsS5urFElNItJl.yml) (9.4 KB)

---

<div class="post-metadata">

**Author:** ![jkressin](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/jkressin/32/9_2.png) [@jkressin](https://forum.search-guard.com/u/jkressin)\
**Post date:** [September 7, 2018, 3:39am UTC](https://forum.search-guard.com/t/cannot-sign-into-kibana/1108/2 "2018-09-07T03:39:48Z")

</div>

Just to make sure I understood the issue correctly:

1. The login page is displayed

2. You provide username and password

3. Login succeeds, no error message is displayed, and Kibana is trying to load

4. But then you are redirected to the login page again

Is that correct?

That usually indicates there is some problem with the session cookie:

> **[Kibana Troubleshooting](https://docs.search-guard.com/latest/troubleshooting-kibana#constant-redirection-to-login-page)**
>
> Step-by-step instructions on how to troubleshoot Kibana issues with the Search Guard plugin.

Or there is something wrong with the Kibana HTTP header whitelisting:

> **[Kibana Troubleshooting](https://docs.search-guard.com/latest/troubleshooting-kibana#kibana-http-header-whitelisting)**
>
> Step-by-step instructions on how to troubleshoot Kibana issues with the Search Guard plugin.

However, as far as I can see from your kibana.yml, the configuration seems to be correct though.

Just to rule out some error sources, can you remove/comment the following settings:

searchguard.cookie.name: “searchguard\_authentication”  
searchguard.cookie.secure: true  
searchguard.allow\_client\_certificates: true

``

and see if this makes any difference? Also, can you check e.g. with the developer tools of your browser if the SG session cookie is present after logging in?

> **···**
>
> On Thursday, September 6, 2018 at 3:23:34 PM UTC-4, Kevin wrote:
> 
> > - Search Guard and Elasticsearch version: ES/SG Version - 6.2.3
> > - Installed and used enterprise modules, if any: No Enterprise Modules
> > - JVM version and operating system version: 1.8.0\_181/CENTOS 7.5.1804
> > - Other installed Elasticsearch or Kibana plugins: Kibana
> 
> > 
> 
> > I have setup, ES and Search Guard, everything is working but when I try and access Kibana it simply spits me back to the login screen without any error messages. Is there something I have done wrong, or need to check?
> 
> > 
> 
> > 
> 
> >
