# Reinstall Elasticsearch 8.x (mistakes were made)

**URL:** <https://discuss.elastic.co/t/reinstall-elasticsearch-8-x-mistakes-were-made/311146>\
**Category:** Elasticsearch\
**Created:** [August 1, 2022, 4:40pm UTC](https://discuss.elastic.co/t/reinstall-elasticsearch-8-x-mistakes-were-made/311146 "2022-08-01T16:40:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![reswob](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/reswob/32/38015_2.png) [@reswob](https://discuss.elastic.co/u/reswob)\
**Post date:** [August 1, 2022, 4:40pm UTC](https://discuss.elastic.co/t/reinstall-elasticsearch-8-x-mistakes-were-made/311146/1 "2022-08-01T16:40:51Z")

</div>

noobish question: I am relearning elastic after a hiatus of a couple years. I downloaded the 8.3.3 tarball, uncompressed it and started elasticsearch, (I'm on linux) but I forgot to properly configure elasticsearch.yml.

So I deleted the whole elasticsearch directory and started over, but I kept running into either http.p12 or transport.p12 errors. Also, when I started over, I did not get the first time run information showing the password for the elastic user, HTTP CA certificate, etc.

Googling 'reinstall elasticsearch' and 'recreate transport.p12', I did learn how to recreate the http.p12 and the CA. But I could not find instructions on how to recreate the transport.p12 file.

So my questions are these:

1. If I need to completely blow away the elasticsearch install again, what else beside deleting the directory do I need to do so that elasticsearch thinks it is a fresh, new install?

2. How do I recreate the transport.p12? The new http.p12 works just fine.

(links to previous posts/blogs welcome)

Thanks

---

<div class="post-metadata">

**Author:** ![reswob](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/reswob/32/38015_2.png) [@reswob](https://discuss.elastic.co/u/reswob)\
**Post date:** [August 1, 2022, 6:02pm UTC](https://discuss.elastic.co/t/reinstall-elasticsearch-8-x-mistakes-were-made/311146/2 "2022-08-01T18:02:21Z")

</div>

OK, nevermind.

Looks like the transport.p12 was just an arbitrary naming convention.

If you rebuild and have the p12 errors, use these links to resolve:

> **[Set up basic security for the Elastic Stack | Elasticsearch Guide \[8.3\] |...](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-basic-setup.html)**

> **[Set up basic security for the Elastic Stack plus secured HTTPS traffic |...](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-basic-setup-https.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:** [August 29, 2022, 6:03pm UTC](https://discuss.elastic.co/t/reinstall-elasticsearch-8-x-mistakes-were-made/311146/3 "2022-08-29T18:03:01Z")

</div>

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