# Complete elasticsearch yml file is not downloaded

**URL:** <https://discuss.elastic.co/t/complete-elasticsearch-yml-file-is-not-downloaded/308706>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [July 2, 2022, 5:39am UTC](https://discuss.elastic.co/t/complete-elasticsearch-yml-file-is-not-downloaded/308706 "2022-07-02T05:39:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![harijld](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@harijld](https://discuss.elastic.co/u/harijld)\
**Post date:** [July 2, 2022, 5:39am UTC](https://discuss.elastic.co/t/complete-elasticsearch-yml-file-is-not-downloaded/308706/1 "2022-07-02T05:39:38Z")

</div>

Hi , I have installed Elasticsearch (8.3) with rpm repo and it installed properly. While setting up the authentication I have faced some challenges and i have uninstalled Elasticsearch.

command used to remove elasticsearch- "yum remove elasticsearch "  
and then removed all the files from server.

Again i have installed the same version and used same steps. But this time is didnt install properly.  
In Elasticsearch.yml file security related parameter are not present.

```auto
#----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------
#
# The following settings, TLS certificates, and keys have been automatically
# generated to configure Elasticsearch security features on 28-06-2022 06:17:27
#
# --------------------------------------------------------------------------------

# Enable security features
xpack.security.enabled: false

xpack.security.enrollment.enabled: true

# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
  enabled: false
  keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes
xpack.security.transport.ssl:
  enabled: true
  verification_mode: certificate
  keystore.path: certs/transport.p12
  truststore.path: certs/transport.p12
# Create a new cluster with the current node only
# Additional nodes can still join the cluster later
cluster.initial_master_nodes: ["elkesapp1"]

# Allow HTTP API connections from anywhere
# Connections are encrypted and require user authentication
http.host: 0.0.0.0

# Allow other nodes to join the cluster from anywhere
# Connections are encrypted and mutually authenticated
#transport.host: 0.0.0.0

#----------------------- END SECURITY AUTO CONFIGURATION -------------------------

```

This section is completely missing in Elasticsearch.yml file.

Even if I start Elasticsearch its not showing any information about elastic user in the logs.

So default user credentials and TLS setting are not coming.

Looks like I didn't uninstall the Elasticsearch properly.

Any idea how to resolve this issue.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 3, 2022, 11:08pm UTC](https://discuss.elastic.co/t/complete-elasticsearch-yml-file-is-not-downloaded/308706/2 "2022-07-03T23:08:47Z")

</div>

Unless you do a `yum purge` then files will likely still exist.

---

<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:** [July 31, 2022, 11:08pm UTC](https://discuss.elastic.co/t/complete-elasticsearch-yml-file-is-not-downloaded/308706/3 "2022-07-31T23:08:49Z")

</div>

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