# Solved: Where is elasticsearch.yml file on Ubuntu machine?

**URL:** <https://discuss.elastic.co/t/solved-where-is-elasticsearch-yml-file-on-ubuntu-machine/131956>\
**Category:** Elasticsearch\
**Created:** [May 15, 2018, 2:27pm UTC](https://discuss.elastic.co/t/solved-where-is-elasticsearch-yml-file-on-ubuntu-machine/131956 "2018-05-15T14:27:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harshal\_Yeole1](https://avatars.discourse-cdn.com/v4/letter/h/ea666f/32.png) [@Harshal\_Yeole1](https://discuss.elastic.co/u/Harshal_Yeole1)\
**Post date:** [May 15, 2018, 2:27pm UTC](https://discuss.elastic.co/t/solved-where-is-elasticsearch-yml-file-on-ubuntu-machine/131956/1 "2018-05-15T14:27:03Z")

</div>

As specified in this [Link](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/configuring-tls.html#node-certificates)

We need to copy the node certificate to the appropriate locations.

Copy the applicable .p12 file into a directory within the Elasticsearch configuration directory on each node. For example, /home/es/config/certs. There is no need to copy the CA file to this directory.

Thanks in advance 🙂

=============================  
FOUND it:

Its in /etc/elasticsearch directory

The older version's directory structure helped:  
[https://www.elastic.co/guide/en/elasticsearch/reference/2.3/setup-dir-layout.html](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/setup-dir-layout.html)

---

<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:** [June 12, 2018, 2:27pm UTC](https://discuss.elastic.co/t/solved-where-is-elasticsearch-yml-file-on-ubuntu-machine/131956/2 "2018-06-12T14:27:09Z")

</div>

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