# Elasticsearch cluster name in yml file

**URL:** https://discuss.elastic.co/t/elasticsearch-cluster-name-in-yml-file/380643
**Category:** Elasticsearch
**Created:** [July 31, 2025, 10:15pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-name-in-yml-file/380643 "2025-07-31T22:15:26Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [August 1, 2025, 2:55am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-name-in-yml-file/380643/3 "2025-08-01T02:55:24Z")

</div>

Hi @King_storm

1st Welcome to the community

2nd directly `@` people that are not already party of your topic already is poor forum etiquette.

Doing it multiple times not real good...

Please be patient

There are many questions and only a limited number of people to answer.

With respect to your question there is not enough information to answer...

If you want help please provide the elasticsearch.yml of one of the existing nodes that is working and the same for the new node...

Then perhaps someone can help

Also perhaps look at

> [@Unable to generate enrollment-token for new elasticsearch node](https://discuss.elastic.co/t/unable-to-generate-enrollment-token-for-new-elasticsearch-node/378234):
>
> When I use elasticsearch-create-enrollment-token -s node, to generate the token for enrol a new elastic node, I have the following error message: Unable to create enrollment token for scope [node] ERROR: Unable to create an enrollment token. Elasticsearch node HTTP layer SSL configuration Keystore doesn't contain any PrivateKey entries where the associated certificate is a CA certificate, with exit code 73 I see that there is this topic with the same issue: Anyway I use custom certificate, …

> [@Need help setting up a second node](https://discuss.elastic.co/t/need-help-setting-up-a-second-node/375785):
>
> Hello! I have a server with Elasticsearch, Kibana and a fleet-server agent installed. I use all the default certificates created in the beginning (automatic security configuration I believe it's called?). I would like to add a second server with Elasticsearch (a second node). I've tried using the enrollment token but it says it can't reach the node: Unable to communicate with the node on ://127.0.0.1:9200/\_security/enroll/node. Error was Connection refused ERROR: Aborting enrolling to clust…

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-cluster-name-in-yml-file/380643)._
