# Avoid adding some naughty node to the cluster

**URL:** <https://discuss.elastic.co/t/avoid-adding-some-naughty-node-to-the-cluster/199528>\
**Category:** Elasticsearch\
**Created:** [September 15, 2019, 9:57am UTC](https://discuss.elastic.co/t/avoid-adding-some-naughty-node-to-the-cluster/199528 "2019-09-15T09:57:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vasek/32/136636_2.png) [@vasek](https://discuss.elastic.co/u/vasek)\
**Post date:** [September 15, 2019, 9:57am UTC](https://discuss.elastic.co/t/avoid-adding-some-naughty-node-to-the-cluster/199528/1 "2019-09-15T09:57:22Z")

</div>

Hello,  
is there in ES 7.x a way how to avoid to join some naughty node to the cluster?  
Regards,  
Vašek

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [September 15, 2019, 10:03am UTC](https://discuss.elastic.co/t/avoid-adding-some-naughty-node-to-the-cluster/199528/2 "2019-09-15T10:03:37Z")

</div>

I'm not quite sure what you mean by "naughty node" but as a general rule the best way to control which nodes may join the cluster is by [enabling security and using TLS](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-tls.html) to require each node in the cluster to have a valid certificate.

---

<div class="post-metadata">

**Author:** ![vasek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vasek/32/136636_2.png) [@vasek](https://discuss.elastic.co/u/vasek)\
**Post date:** [September 15, 2019, 10:24am UTC](https://discuss.elastic.co/t/avoid-adding-some-naughty-node-to-the-cluster/199528/3 "2019-09-15T10:24:19Z")

</div>

I had in mind a node which is not in my administration. I would like to find some solutions to verify whether this node is trusted and can join the cluster. Your answer is what I was looking for.  
Thank you David.

---

<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:** [October 13, 2019, 10:24am UTC](https://discuss.elastic.co/t/avoid-adding-some-naughty-node-to-the-cluster/199528/4 "2019-10-13T10:24:24Z")

</div>

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