# Does Kibana support https?

**URL:** <https://discuss.elastic.co/t/does-kibana-support-https/103799>\
**Category:** Kibana\
**Created:** [October 12, 2017, 10:13pm UTC](https://discuss.elastic.co/t/does-kibana-support-https/103799 "2017-10-12T22:13:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![waynez](https://avatars.discourse-cdn.com/v4/letter/w/3bc359/32.png) [@waynez](https://discuss.elastic.co/u/waynez)\
**Post date:** [October 12, 2017, 10:13pm UTC](https://discuss.elastic.co/t/does-kibana-support-https/103799/1 "2017-10-12T22:13:49Z")

</div>

Mine works fine in http mode for Kibana. Now, I would like to make the https:// work.

I can see kibana.yml has a section for SSL. Not sure if that means supporting https: if I enable them like that below. I guess it is the mean for supporting. So, I did like these:

server.ssl.enabled: true  
server.ssl.certificate: /tmp/keypair\_good.pem  
server.ssl.key: /tmp/keypair\_good.pem

After setting that above, Kibana gave error like the following when its service was started:

FATAL Error: error:0907B068:PEM routines:PEM\_READ\_BIO\_PRIVATEKEY:bad password read

I guess it is because the certificate and key were created with password. But Kibana does not provide a mechanism for me to give the key for opening the certificate and key.

Any hints are appreciated.

Best,  
Wayne

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [October 13, 2017, 4:07pm UTC](https://discuss.elastic.co/t/does-kibana-support-https/103799/2 "2017-10-13T16:07:13Z")

</div>

What version of Kibana are you using? In 5.3 we updated the SSL settings, which included the addition of a `server.ssl.keyPassphrase` setting. [https://www.elastic.co/guide/en/kibana/5.6/settings.html](https://www.elastic.co/guide/en/kibana/5.6/settings.html)

---

<div class="post-metadata">

**Author:** ![waynez](https://avatars.discourse-cdn.com/v4/letter/w/3bc359/32.png) [@waynez](https://discuss.elastic.co/u/waynez)\
**Post date:** [October 16, 2017, 4:47pm UTC](https://discuss.elastic.co/t/does-kibana-support-https/103799/3 "2017-10-16T16:47:46Z")

</div>

Right, it worked. I am using 5.6. But I did not see it in the kibana.yml coming with the package. I should have checked the online doc. I thought the file would have included everything.

Thanks!

---

<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:** [November 13, 2017, 4:48pm UTC](https://discuss.elastic.co/t/does-kibana-support-https/103799/4 "2017-11-13T16:48:13Z")

</div>

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