# Kibana with HTTPS

**URL:** https://discuss.elastic.co/t/kibana-with-https/123746
**Category:** Kibana
**Created:** [March 13, 2018, 2:12pm UTC](https://discuss.elastic.co/t/kibana-with-https/123746 "2018-03-13T14:12:09Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Amandine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amandine/32/28305_2.png) [@Amandine](https://discuss.elastic.co/u/Amandine)
#### Post date: [March 13, 2018, 2:12pm UTC](https://discuss.elastic.co/t/kibana-with-https/123746/1 "2018-03-13T14:12:09Z")

</div>

Hello, I wish that Kibana is accessible in HTTPS. I created a Let's encrypt certificate. I modified the server certificate part and the certification authority part in kibana.yml. I also put [https://example.com](https://example.com) on the proxy\_pass of my nginx default. However, Chrome tells me that my site is inaccessible. I do not know if I put the right files in the configuration.

---

<div class="post-metadata">

### Author: ![tatdat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tatdat/32/113160_2.png) [@tatdat](https://discuss.elastic.co/u/tatdat)
#### Post date: [March 13, 2018, 2:48pm UTC](https://discuss.elastic.co/t/kibana-with-https/123746/2 "2018-03-13T14:48:29Z")

</div>

Another way, u can try config ssl in kibana config file : `/etc/kibana/kibana.yml`

> <https://github.com/elastic/kibana/blob/master/config/kibana.yml#L51>

Line 51: set ssl enable **TRUE**  
Line 52: path/to/your/cert  
Line53: path/to/your/key

Good luck!

---

<div class="post-metadata">

### Author: ![Amandine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amandine/32/28305_2.png) [@Amandine](https://discuss.elastic.co/u/Amandine)
#### Post date: [March 13, 2018, 3:16pm UTC](https://discuss.elastic.co/t/kibana-with-https/123746/3 "2018-03-13T15:16:35Z")

</div>

I tried to modify this part of kibana.yml but it does not work. Chrome tells me that the site is inaccessible. Maybe I do not take the right files.  
I don't found the crt file. I have a file.pem and file.key given by certbot. I have to try and no results.

---

<div class="post-metadata">

### Author: ![Yo\_Man](https://avatars.discourse-cdn.com/v4/letter/y/dc4da7/32.png) [@Yo\_Man](https://discuss.elastic.co/u/Yo_Man)
#### Post date: [March 13, 2018, 3:52pm UTC](https://discuss.elastic.co/t/kibana-with-https/123746/4 "2018-03-13T15:52:18Z")

</div>

you have to create it from your pem file.

[https://www.sslshopper.com/article-most-common-openssl-commands.html](https://www.sslshopper.com/article-most-common-openssl-commands.html)

---

<div class="post-metadata">

### Author: ![Amandine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amandine/32/28305_2.png) [@Amandine](https://discuss.elastic.co/u/Amandine)
#### Post date: [March 13, 2018, 3:55pm UTC](https://discuss.elastic.co/t/kibana-with-https/123746/5 "2018-03-13T15:55:08Z")

</div>

Thank you for the link. But I was asked to use Let's Encrypt.

---

<div class="post-metadata">

### Author: ![tatdat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tatdat/32/113160_2.png) [@tatdat](https://discuss.elastic.co/u/tatdat)
#### Post date: [March 16, 2018, 5:03pm UTC](https://discuss.elastic.co/t/kibana-with-https/123746/6 "2018-03-16T17:03:55Z")

</div>

> [@Amandine](#):
>
> I don't found the crt file. I have a file.pem and file.key given by certbot. I have to try and no results.

Why u dont have crt file when i run cerbot ?

---

<div class="post-metadata">

### Author: ![Amandine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amandine/32/28305_2.png) [@Amandine](https://discuss.elastic.co/u/Amandine)
#### Post date: [March 19, 2018, 10:40am UTC](https://discuss.elastic.co/t/kibana-with-https/123746/7 "2018-03-19T10:40:56Z")

</div>

I don't know !

---

<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 16, 2018, 10:40am UTC](https://discuss.elastic.co/t/kibana-with-https/123746/8 "2018-04-16T10:40:58Z")

</div>

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