# Enabling xpack security TLS

**URL:** <https://discuss.elastic.co/t/enabling-xpack-security-tls/289636>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [November 18, 2021, 7:20pm UTC](https://discuss.elastic.co/t/enabling-xpack-security-tls/289636 "2021-11-18T19:20:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwoods269](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@mwoods269](https://discuss.elastic.co/u/mwoods269)\
**Post date:** [November 18, 2021, 7:20pm UTC](https://discuss.elastic.co/t/enabling-xpack-security-tls/289636/1 "2021-11-18T19:20:11Z")

</div>

Just upgraded 3 node cluster (sandbox) to 7.15.2 Basic license  
Following these instructions to enable security and ultimately tls transport communications.

> **[Set up minimal security for Elasticsearch | Elasticsearch Guide \[7.15\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-minimal-setup.html)**

> **[Set up basic security for the Elastic Stack | Elasticsearch Guide \[7.15\] |...](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-basic-setup.html#encrypt-internode-communication)**

directions say to enable security  
-enabled security  
-Elasticsearch fails to start and complains that I must enable tls  
Transport SSL must be enabled if security is enabled on a [basic] license. Please set [xpack.security.transport.ssl.enabled] to [true]  
-enabled tls  
-Elasticsearch starts  
-cluster can't see each other and therefore causes "Cause: master\_not\_discovered\_exception" and spins  
-connections to nodes fail  
-without enabling xpack security you can't run the account password generator tool "./bin/Elasticsearch-setup-passwords auto" because it barks that you have to have xpack security enabled.  
-still digging

Any help is appreciated

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 19, 2021, 4:22am UTC](https://discuss.elastic.co/t/enabling-xpack-security-tls/289636/2 "2021-11-19T04:22:30Z")

</div>

Welcome to our community! 😃

> [@mwoods269](#):
>
> -cluster can't see each other and therefore causes "Cause: master\_not\_discovered\_exception" and spins  
> -connections to nodes fail

It'd be useful if you could share;

- your config
- your Elasticsearch logs

---

<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 17, 2021, 4:22am UTC](https://discuss.elastic.co/t/enabling-xpack-security-tls/289636/3 "2021-12-17T04:22:54Z")

</div>

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