# I cannot login Kibana

**URL:** https://discuss.elastic.co/t/i-cannot-login-kibana/285110
**Category:** Kibana
**Tags:** elastic-stack-security
**Created:** [September 24, 2021, 9:20pm UTC](https://discuss.elastic.co/t/i-cannot-login-kibana/285110 "2021-09-24T21:20:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rachelyang](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@rachelyang](https://discuss.elastic.co/u/rachelyang)
#### Post date: [September 24, 2021, 9:20pm UTC](https://discuss.elastic.co/t/i-cannot-login-kibana/285110/1 "2021-09-24T21:20:09Z")

</div>

On the kibana [https://127.0.0.1:5601](https://127.0.0.1:5601) page, I log in by username elastic and password, but I got an error: Username or password is incorrect. Please try again.  
Http response: {"statusCode":401,"error":"Unauthorized","message":"unable to verify the first certificate"}  
Log file: Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: bad\_certificate

elastic is a super user, why is it unauthorized?

---

<div class="post-metadata">

### Author: ![Iker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iker/32/91708_2.png) [@Iker](https://discuss.elastic.co/u/Iker)
#### Post date: [September 25, 2021, 3:19am UTC](https://discuss.elastic.co/t/i-cannot-login-kibana/285110/2 "2021-09-25T03:19:26Z")

</div>

The error is not credentials related, it's about the certificate installed in the Elastic end, maybe is a self-signed and the root authority is not trusted by Kibana?, could you share your configuration settings for ssl?.

---

<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: [October 23, 2021, 3:19am UTC](https://discuss.elastic.co/t/i-cannot-login-kibana/285110/3 "2021-10-23T03:19:49Z")

</div>

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