# Getting authentication failure when logging into kibana

**URL:** <https://discuss.elastic.co/t/getting-authentication-failure-when-logging-into-kibana/327222>\
**Category:** Elasticsearch\
**Created:** [March 7, 2023, 7:03pm UTC](https://discuss.elastic.co/t/getting-authentication-failure-when-logging-into-kibana/327222 "2023-03-07T19:03:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Russell\_Fulton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/russell_fulton/32/62888_2.png) [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)\
**Post date:** [March 7, 2023, 7:03pm UTC](https://discuss.elastic.co/t/getting-authentication-failure-when-logging-into-kibana/327222/1 "2023-03-07T19:03:30Z")

</div>

I am trying to log into kibana as the elastic user to do some maintenance but the login fails -- server shows: ` Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]`

I can use same credentials via curl fine:

```auto
rful011@secmonprd01:~$ curl -ks --noproxy \* -u elastic -XGET https://secmonprd01.its.auckland.ac.nz:9200/_cluster/health?pretty
Enter host password for user 'elastic':
{
  "cluster_name" : "test",
  "status" : "green",

```

I tried restarting kibana but that did not make any difference.

Any idea what is going on?

---

<div class="post-metadata">

**Author:** ![Russell\_Fulton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/russell_fulton/32/62888_2.png) [@Russell\_Fulton](https://discuss.elastic.co/u/Russell_Fulton)\
**Post date:** [March 7, 2023, 10:06pm UTC](https://discuss.elastic.co/t/getting-authentication-failure-when-logging-into-kibana/327222/2 "2023-03-07T22:06:42Z")

</div>

Hmmmm.... It now works fine -- so far as I can tell nothing has changed.

---

<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:** [April 4, 2023, 10:07pm UTC](https://discuss.elastic.co/t/getting-authentication-failure-when-logging-into-kibana/327222/3 "2023-04-04T22:07:32Z")

</div>

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