# Setting up TLS between nodes without data loss

**URL:** <https://discuss.elastic.co/t/setting-up-tls-between-nodes-without-data-loss/196775>\
**Category:** Elasticsearch\
**Created:** [August 26, 2019, 1:20pm UTC](https://discuss.elastic.co/t/setting-up-tls-between-nodes-without-data-loss/196775 "2019-08-26T13:20:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![74db36a597f21b891b3f](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/74db36a597f21b891b3f/32/45367_2.png) [@74db36a597f21b891b3f](https://discuss.elastic.co/u/74db36a597f21b891b3f)\
**Post date:** [August 26, 2019, 1:20pm UTC](https://discuss.elastic.co/t/setting-up-tls-between-nodes-without-data-loss/196775/1 "2019-08-26T13:20:26Z")

</div>

Hi there.  
I've read that setting up TLS between nodes in live cluster requires full cluster restart. When I set TLS on a node it will stop communicating with other nodes until they are reconfigured too.  
So could someone please explain how to avoid split-brain or data loss in this scenario?  
Of course i need to stop shard relocation during this process. But what else should i do?  
Thanks.

---

<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:** [August 30, 2019, 10:10am UTC](https://discuss.elastic.co/t/setting-up-tls-between-nodes-without-data-loss/196775/2 "2019-08-30T10:10:26Z")

</div>

See [https://www.elastic.co/guide/en/elasticsearch/reference/current/restart-upgrade.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/restart-upgrade.html). You could follow steps until 4. Then shutdown all your nodes, configure them for TLS and start them again.

---

<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:** [September 27, 2019, 10:18am UTC](https://discuss.elastic.co/t/setting-up-tls-between-nodes-without-data-loss/196775/3 "2019-09-27T10:18:04Z")

</div>

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