# How to establish secured connection to elasticsearch

**URL:** https://discuss.elastic.co/t/how-to-establish-secured-connection-to-elasticsearch/167783
**Category:** Kibana
**Created:** [February 11, 2019, 2:17am UTC](https://discuss.elastic.co/t/how-to-establish-secured-connection-to-elasticsearch/167783 "2019-02-11T02:17:59Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![li\_jessen2016](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/li_jessen2016/32/38817_2.png) [@li\_jessen2016](https://discuss.elastic.co/u/li_jessen2016)
#### Post date: [February 16, 2019, 7:39am UTC](https://discuss.elastic.co/t/how-to-establish-secured-connection-to-elasticsearch/167783/5 "2019-02-16T07:39:52Z")

</div>

I have done. Please see my post here:

> [@What does "A secure connection is required for log in" mean?](https://discuss.elastic.co/t/what-does-a-secure-connection-is-required-for-log-in-mean/168355/5):
>
> It is really not a simple task. It cost me around 6 hours to figure it out. Some facts are missing in the online documents of Elasticsearch. I am using CentOS 7, elasticsearch and kibana 6.5. (1) generate server certificate for kibana Use elasticsearch-certutil in the installation directory of elasticsearch, since kibana installation directory has no such utility details see: [https://www.elastic.co/guide/en/elasticsearch/reference/current/certutil.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/certutil.html) But you need to create a yml file for …

---

_[View the full topic](https://discuss.elastic.co/t/how-to-establish-secured-connection-to-elasticsearch/167783)._
