# PKI Authentication query

**URL:** <https://discuss.elastic.co/t/pki-authentication-query/334121>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [May 23, 2023, 12:55pm UTC](https://discuss.elastic.co/t/pki-authentication-query/334121 "2023-05-23T12:55:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PRASHANT\_MEHTA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prashant_mehta/32/101764_2.png) [@PRASHANT\_MEHTA](https://discuss.elastic.co/u/PRASHANT_MEHTA)\
**Post date:** [May 23, 2023, 12:55pm UTC](https://discuss.elastic.co/t/pki-authentication-query/334121/1 "2023-05-23T12:55:30Z")

</div>

Hello All,

I'm using PKI based authentication for accessing kibana,The issue I'm facing is for the very first time using my PKI , I enter my password and it authenticates correctly.  
But now when I'm accessing the kibana URL again then again it ask for authentication password.  
My requirement is once the authentication using PKI is done for very first time,next time it should not ask again to authenticate.

Please let me know how to achive the desired outcome.

Thanx

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [May 24, 2023, 8:09am UTC](https://discuss.elastic.co/t/pki-authentication-query/334121/2 "2023-05-24T08:09:48Z")

</div>

> [@PRASHANT\_MEHTA](#):
>
> I enter my password

Do you mean your Kibana (Elasticsearch) password?  
If so, then you are not using PKI authentication - PKI never asks for a password.

---

<div class="post-metadata">

**Author:** ![PRASHANT\_MEHTA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prashant_mehta/32/101764_2.png) [@PRASHANT\_MEHTA](https://discuss.elastic.co/u/PRASHANT_MEHTA)\
**Post date:** [May 29, 2023, 10:24am UTC](https://discuss.elastic.co/t/pki-authentication-query/334121/3 "2023-05-29T10:24:33Z")

</div>

Helli @TimV ,

Thanx for your time and for responding on this.

Kibana is configured to authenticate with pki card. The dashboards is embedded into another custom angular based ui application. Currently, the embedded page is showing authentication failure. We need to visualize the embedded page without authentication.  
Mainly, we are looking that embedded dashboard should work fine without asking pki credentials.

**Error and screenshot below:**  
**We hit authentication error.Try logging in again, and if problem persist,contact your system administrator.**

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/b/bb3357edd9feb130ea849469882c2af46c2a3d14.png)

Kibana version 8.7.1

Thanx

---

<div class="post-metadata">

**Author:** ![PRASHANT\_MEHTA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prashant_mehta/32/101764_2.png) [@PRASHANT\_MEHTA](https://discuss.elastic.co/u/PRASHANT_MEHTA)\
**Post date:** [June 16, 2023, 6:43am UTC](https://discuss.elastic.co/t/pki-authentication-query/334121/4 "2023-06-16T06:43:19Z")

</div>

I'm still struggling to resolve this, any help or suggestion would be helpful here.

---

<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:** [July 14, 2023, 6:43am UTC](https://discuss.elastic.co/t/pki-authentication-query/334121/5 "2023-07-14T06:43:29Z")

</div>

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