# How to generate server certificate for Kibana?

**URL:** https://discuss.elastic.co/t/how-to-generate-server-certificate-for-kibana/122166
**Category:** Kibana
**Created:** [March 1, 2018, 11:18pm UTC](https://discuss.elastic.co/t/how-to-generate-server-certificate-for-kibana/122166 "2018-03-01T23:18:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zachy](https://avatars.discourse-cdn.com/v4/letter/z/9d8465/32.png) [@zachy](https://discuss.elastic.co/u/zachy)
#### Post date: [March 1, 2018, 11:18pm UTC](https://discuss.elastic.co/t/how-to-generate-server-certificate-for-kibana/122166/1 "2018-03-01T23:18:31Z")

</div>

Hi

I am reading through the docs here: [https://www.elastic.co/guide/en/kibana/6.2/monitoring-xpack-kibana.html](https://www.elastic.co/guide/en/kibana/6.2/monitoring-xpack-kibana.html)

Under point 4, it says to generate a server certificate for Kibana.

How do I do this? Is it the exact same steps for generating a node certificate for Elasticsearch?

---

<div class="post-metadata">

### Author: ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)
#### Post date: [March 4, 2018, 8:36pm UTC](https://discuss.elastic.co/t/how-to-generate-server-certificate-for-kibana/122166/2 "2018-03-04T20:36:37Z")

</div>

It means generate a TLS/SSL certificate in the general sense. Using the certificate generator bundled with elasticsearch is an option but it won't be signed by a default trusted certificate authority. If you want this accessible from the web and to not display a trust error you'll want to get it signed by an authority (letsencrypt is commonly used, and provides free certificates). If you're on a closed network with the CA added to all the machines then creating your own is fine.

---

<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 1, 2018, 8:37pm UTC](https://discuss.elastic.co/t/how-to-generate-server-certificate-for-kibana/122166/3 "2018-04-01T20:37:13Z")

</div>

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