# ERROR: Failed to determine the health of the cluster with elasticsearch-create-enrollment-token

**URL:** https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster-with-elasticsearch-create-enrollment-token/297041
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [February 12, 2022, 8:04am UTC](https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster-with-elasticsearch-create-enrollment-token/297041 "2022-02-12T08:04:09Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [February 13, 2022, 7:24pm UTC](https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster-with-elasticsearch-create-enrollment-token/297041/2 "2022-02-13T19:24:13Z")

</div>

Hi there,

The enrolment process is designed to work only with the auto-configured TLS setup that one gets with Elasticsearch 8.0.

You could theoretically alter your existing configuration so that enrollment works for you too but we don’t have any documentation around it and it’s probably going to be more work that adding a node with TLS using the documentation you have already followed.

The error message that you got in this case is misleading and we’ll look into making it clearer, thanks for your feedback !

---

_[View the full topic](https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster-with-elasticsearch-create-enrollment-token/297041)._
