# Supply ElasticSearch Keystore password to start ElasticSearch Service

**URL:** <https://discuss.elastic.co/t/supply-elasticsearch-keystore-password-to-start-elasticsearch-service/346160>\
**Category:** Elasticsearch\
**Created:** [October 31, 2023, 8:23pm UTC](https://discuss.elastic.co/t/supply-elasticsearch-keystore-password-to-start-elasticsearch-service/346160 "2023-10-31T20:23:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisMannix](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@ChrisMannix](https://discuss.elastic.co/u/ChrisMannix)\
**Post date:** [October 31, 2023, 8:23pm UTC](https://discuss.elastic.co/t/supply-elasticsearch-keystore-password-to-start-elasticsearch-service/346160/1 "2023-10-31T20:23:52Z")

</div>

Hi,  
I have been building my Elasticsearch cluster and I was playing around with the Elasticsearch keystore.  
If I change the Elasticsearch keystore password, the Elasticsearch service does not start anymore.  
This makes sense since it is written in the documentation :  
"When the keystore is password-protected, you must supply the password each time Elasticsearch starts".

So my question is : How do I supply the password so that the Elasticsearch service can start ?  
I've searched quite a bit and I could not find how.

Thank you.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [October 31, 2023, 8:36pm UTC](https://discuss.elastic.co/t/supply-elasticsearch-keystore-password-to-start-elasticsearch-service/346160/2 "2023-10-31T20:36:10Z")

</div>

> [@ChrisMannix](#):
>
> So my question is : How do I supply the password so that the Elasticsearch service can start ?  
> I've searched quite a bit and I could not find how.

It depends how you are running Elasticsearch, but this is described in the documentation about [Starting Elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/starting-elasticsearch.html).

---

<div class="post-metadata">

**Author:** ![ChrisMannix](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@ChrisMannix](https://discuss.elastic.co/u/ChrisMannix)\
**Post date:** [November 1, 2023, 6:38pm UTC](https://discuss.elastic.co/t/supply-elasticsearch-keystore-password-to-start-elasticsearch-service/346160/3 "2023-11-01T18:38:12Z")

</div>

I got the answer in the Debian section of the article you linked.  
Thanks !

---

<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:** [November 29, 2023, 6:38pm UTC](https://discuss.elastic.co/t/supply-elasticsearch-keystore-password-to-start-elasticsearch-service/346160/4 "2023-11-29T18:38:51Z")

</div>

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