# Issue while Configuring SSL, TLS, and HTTPS to secure Elasticsearch

**URL:** <https://discuss.elastic.co/t/issue-while-configuring-ssl-tls-and-https-to-secure-elasticsearch/191759>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [July 23, 2019, 7:37am UTC](https://discuss.elastic.co/t/issue-while-configuring-ssl-tls-and-https-to-secure-elasticsearch/191759 "2019-07-23T07:37:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditya1](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@aditya1](https://discuss.elastic.co/u/aditya1)\
**Post date:** [July 23, 2019, 7:37am UTC](https://discuss.elastic.co/t/issue-while-configuring-ssl-tls-and-https-to-secure-elasticsearch/191759/1 "2019-07-23T07:37:00Z")

</div>

Hi all,

I install elasticsearch 7.2 in ubuntu 16.04 on AWS instance and tried to setup SSL,TLS on elasticsearch  
I refer below link to configure the same

> **[Configuring SSL, TLS, and HTTPS to secure Elasticsearch, Kibana, Beats, and...](https://www.elastic.co/blog/configuring-ssl-tls-and-https-to-secure-elasticsearch-kibana-beats-and-logstash#)**
>
> Feeling insecure about your Elastic Stack security? Run through these step-by-step instructions for setting up TLS encryption and https on Elasticsearch, Kibana, Logstash, and Beats to shore up your stack's defenses. Highly recommended for end-to-end...

But in 2-6-2 step i.e Configure elasticsearch.yml I configure all xpack security parameter & appropriate path but when I start the elasticsearch it failed to start and in logs, I am not getting log updates for the same.

And When i remove all xpack.security component elasticsearch works fine.

Any help in this will be appreciated.

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [July 23, 2019, 7:59am UTC](https://discuss.elastic.co/t/issue-while-configuring-ssl-tls-and-https-to-secure-elasticsearch/191759/2 "2019-07-23T07:59:23Z")

</div>

We can't do much without error logs. Assuming you have installed the deb package that uses Systemd, you can check the logs of Elasticsearch with `journalctl -u elasticsearch`. Please share any errors you see in there

---

<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:** [August 20, 2019, 7:59am UTC](https://discuss.elastic.co/t/issue-while-configuring-ssl-tls-and-https-to-secure-elasticsearch/191759/3 "2019-08-20T07:59:24Z")

</div>

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