# ES node enrolment error

**URL:** <https://discuss.elastic.co/t/es-node-enrolment-error/378788>\
**Category:** Elasticsearch\
**Created:** [June 2, 2025, 10:04am UTC](https://discuss.elastic.co/t/es-node-enrolment-error/378788 "2025-06-02T10:04:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreya\_14](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sreya\_14](https://discuss.elastic.co/u/sreya_14)\
**Post date:** [June 2, 2025, 10:04am UTC](https://discuss.elastic.co/t/es-node-enrolment-error/378788/1 "2025-06-02T10:04:22Z")

</div>

While enrolling a node I am getting below error  
ERROR: Aborting enrolling to cluster. This node doesn't appear to be auto-configured for security. Expected configuration is missing from elasticsearch.yml., with exit code 64

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [June 2, 2025, 8:49pm UTC](https://discuss.elastic.co/t/es-node-enrolment-error/378788/2 "2025-06-02T20:49:31Z")

</div>

Perhaps read

> [@Elasticsearch-create-enrollment-token is not possible without a keystore ( aka with PEM certificates)](https://discuss.elastic.co/t/elasticsearch-create-enrollment-token-is-not-possible-without-a-keystore-aka-with-pem-certificates/336136/2):
>
> Hi @DavidDPD Welcome to the community, and apologies for the frustrating experience. Yes a bit frustrating and probably could be documented better. I think perhaps there is a fundamental "disconnect" At least this is how I understand it.... When you want to use your own certs etc, you are no longer using security auto configuration and thus when you use your own certs you should no longer be trying to "enroll" another node in the cluster using an enrollment token... the elasticsearch-create-…
