# Kibana error Logging in requires a secure connection

**URL:** <https://discuss.elastic.co/t/kibana-error-logging-in-requires-a-secure-connection/149991>\
**Category:** Kibana\
**Created:** [September 26, 2018, 11:10am UTC](https://discuss.elastic.co/t/kibana-error-logging-in-requires-a-secure-connection/149991 "2018-09-26T11:10:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [September 26, 2018, 11:10am UTC](https://discuss.elastic.co/t/kibana-error-logging-in-requires-a-secure-connection/149991/1 "2018-09-26T11:10:58Z")

</div>

Hi,  
I am using Kibana-6.3.1  
I have configued it with ES 6.3.1.  
After I setup elastic/kibana password and restated cluster, kibana not allowing me to login.  
ON login screen it shows error "Logging in requires a secure connection"  
I havent configured certificate yet. ssl-enabled is false.  
What might be the issue?

Also I can access it with IP address only. Why the hostname:5601 ?

BR,  
Sunil.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [September 26, 2018, 6:21pm UTC](https://discuss.elastic.co/t/kibana-error-logging-in-requires-a-secure-connection/149991/2 "2018-09-26T18:21:28Z")

</div>

HI  
Can you share more information like screenshots, logs- Its most important information. Also it would be good if you could share your `kibana.yml` and `elasticsearch.yml` configuration - of course commenting out the sensitive information.  
My guess is that Kibana cannot connect to the ES cluster.  
Are you running X-Pack with security enabled? If so, did you set a password for the `kibana` user, and add it to `kibana.yml` ?  
See: [https://www.elastic.co/guide/en/x-pack/6.0/setting-up-authentication.html#set-built-in-user-passwords](https://www.elastic.co/guide/en/x-pack/6.0/setting-up-authentication.html#set-built-in-user-passwords)

---

<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 24, 2018, 6:21pm UTC](https://discuss.elastic.co/t/kibana-error-logging-in-requires-a-secure-connection/149991/3 "2018-10-24T18:21:30Z")

</div>

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