# Deleted Elasticsearch http\_ca.crt

**URL:** <https://discuss.elastic.co/t/deleted-elasticsearch-http-ca-crt/315225>\
**Category:** Elasticsearch\
**Created:** [September 27, 2022, 1:10am UTC](https://discuss.elastic.co/t/deleted-elasticsearch-http-ca-crt/315225 "2022-09-27T01:10:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [September 27, 2022, 1:10am UTC](https://discuss.elastic.co/t/deleted-elasticsearch-http-ca-crt/315225/1 "2022-09-27T01:10:37Z")

</div>

A client, who has logstash and a elastic node in the same machine, was having problem indexing data with logstash, the cacert configuration in the logstash output was pointing to the elasticsearch directory where he has the http\_ca.crt file.

When I checked the file, it was empty, so I enter to another elastic node and try to SCP the file to the server with the missing file, for some reason or my inexpierience I could not copy the file, so I opened in a text editor and copy the content and then create and paste the content to another file in the server where it was missing.

logstash started to index data again, but I have some doubts.

- Every time a node is restarted it uses the http\_ca.crt file?
- The http\_ca.crt is exactly the same for all the nodes?
- The fact that I copy and paste the content of the file to another server may cause any problems?

Thanks!

---

<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:** [September 27, 2022, 3:17am UTC](https://discuss.elastic.co/t/deleted-elasticsearch-http-ca-crt/315225/2 "2022-09-27T03:17:37Z")

</div>

For your first 2 questions, yes.  
For the last one, not unless you are copy from linux to a windows machine and then back to linux there can be issues with carriage returns. Otherwise you should be ok.

---

<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:** [October 25, 2022, 3:18am UTC](https://discuss.elastic.co/t/deleted-elasticsearch-http-ca-crt/315225/3 "2022-10-25T03:18:22Z")

</div>

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