# Enable HTTPS on Kibana on Docker

**URL:** <https://discuss.elastic.co/t/enable-https-on-kibana-on-docker/256139>\
**Category:** Kibana\
**Created:** [November 20, 2020, 3:24pm UTC](https://discuss.elastic.co/t/enable-https-on-kibana-on-docker/256139 "2020-11-20T15:24:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elitlogik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elitlogik/32/78920_2.png) [@Elitlogik](https://discuss.elastic.co/u/Elitlogik)\
**Post date:** [November 20, 2020, 3:24pm UTC](https://discuss.elastic.co/t/enable-https-on-kibana-on-docker/256139/1 "2020-11-20T15:24:53Z")

</div>

I've used this for deploying the ELK: [https://github.com/deviantony/docker-elk](https://github.com/deviantony/docker-elk)

I have my cert and private key, but I have no idea where to store them and how to write the path according to this: [https://www.elastic.co/guide/en/kibana/current/configuring-tls.html](https://www.elastic.co/guide/en/kibana/current/configuring-tls.html)

Please help me you guys who are running ELK on Docker.

Thank you very much for your support!

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [November 25, 2020, 3:32pm UTC](https://discuss.elastic.co/t/enable-https-on-kibana-on-docker/256139/2 "2020-11-25T15:32:58Z")

</div>

The easiest approach is to use bind-mounted configuration like explained here: [https://www.elastic.co/guide/en/kibana/current/docker.html#bind-mount-config](https://www.elastic.co/guide/en/kibana/current/docker.html#bind-mount-config)

Put the certs and your kibana.yml file on your host file system, then mount them into the container file system using volumes.

---

<div class="post-metadata">

**Author:** ![Elitlogik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elitlogik/32/78920_2.png) [@Elitlogik](https://discuss.elastic.co/u/Elitlogik)\
**Post date:** [November 26, 2020, 5:19am UTC](https://discuss.elastic.co/t/enable-https-on-kibana-on-docker/256139/3 "2020-11-26T05:19:09Z")

</div>

Amazing! Thanks for the reply.

Now working perfectly.

---

<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:** [December 24, 2020, 5:19am UTC](https://discuss.elastic.co/t/enable-https-on-kibana-on-docker/256139/4 "2020-12-24T05:19:22Z")

</div>

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