# Secure Elasticsearch with TLS encryption and role-based access control

**URL:** <https://discuss.elastic.co/t/secure-elasticsearch-with-tls-encryption-and-role-based-access-control/185576>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [June 13, 2019, 8:27am UTC](https://discuss.elastic.co/t/secure-elasticsearch-with-tls-encryption-and-role-based-access-control/185576 "2019-06-13T08:27:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuna\_YU](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuna_yu/32/47604_2.png) [@Yuna\_YU](https://discuss.elastic.co/u/Yuna_YU)\
**Post date:** [June 13, 2019, 8:27am UTC](https://discuss.elastic.co/t/secure-elasticsearch-with-tls-encryption-and-role-based-access-control/185576/1 "2019-06-13T08:27:19Z")

</div>

I want to follow the below article to secure my elasticsearch,  
[link](https://www.elastic.co/blog/getting-started-with-elasticsearch-security)

But I had installed elasticsearch by using debian, So I don't know how to make master and node just like the article demonstrated?

P.S. I built ELK respectively on 3 servers.

Can Somebody help? Thanks!

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [June 13, 2019, 11:47pm UTC](https://discuss.elastic.co/t/secure-elasticsearch-with-tls-encryption-and-role-based-access-control/185576/2 "2019-06-13T23:47:07Z")

</div>

The [`.deb` installation instructions](https://www.elastic.co/guide/en/elasticsearch/reference/7.1/deb.html) describe the directory layout and where various files are kept.

You should familiarise yourself with that information beciyou cannot operate an ES cluster of you do not know how to change the configuration or read the log files.

---

<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:** [July 11, 2019, 11:47pm UTC](https://discuss.elastic.co/t/secure-elasticsearch-with-tls-encryption-and-role-based-access-control/185576/3 "2019-07-11T23:47:13Z")

</div>

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