# Installing keystore

**URL:** <https://discuss.elastic.co/t/installing-keystore/163793>\
**Category:** Logstash\
**Created:** [January 10, 2019, 5:54pm UTC](https://discuss.elastic.co/t/installing-keystore/163793 "2019-01-10T17:54:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kb2295](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@kb2295](https://discuss.elastic.co/u/kb2295)\
**Post date:** [January 10, 2019, 5:54pm UTC](https://discuss.elastic.co/t/installing-keystore/163793/1 "2019-01-10T17:54:36Z")

</div>

Hello,

I'm trying to install keystore using the following command:

> bin/logstash-keystore create

and I get this error:

> bin/logstash-keystore: No such file or directory

I'm in my logstash directory and don't understand why this command isn't working. The bin directory is right there.

This is the guide I am using:

> **[Secrets keystore for secure settings | Logstash Reference \[6.3\] | Elastic](https://www.elastic.co/guide/en/logstash/6.3/keystore.html)**

---

<div class="post-metadata">

**Author:** ![pr0b3l](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@pr0b3l](https://discuss.elastic.co/u/pr0b3l)\
**Post date:** [January 24, 2019, 6:46am UTC](https://discuss.elastic.co/t/installing-keystore/163793/2 "2019-01-24T06:46:16Z")

</div>

What is the OS you use?

If it is Linux, you can go to the path /usr/share/logstash/bin/logstash-keystore/

---

<div class="post-metadata">

**Author:** ![kb2295](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@kb2295](https://discuss.elastic.co/u/kb2295)\
**Post date:** [February 13, 2019, 10:00pm UTC](https://discuss.elastic.co/t/installing-keystore/163793/3 "2019-02-13T22:00:41Z")

</div>

Yeah, I'm using Linux but that path does not exist.  
there's not logstash-keystore in bin.

---

<div class="post-metadata">

**Author:** ![pr0b3l](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@pr0b3l](https://discuss.elastic.co/u/pr0b3l)\
**Post date:** [February 14, 2019, 2:00pm UTC](https://discuss.elastic.co/t/installing-keystore/163793/4 "2019-02-14T14:00:37Z")

</div>

kb2295, you install or unzip distribution?

---

<div class="post-metadata">

**Author:** ![kb2295](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@kb2295](https://discuss.elastic.co/u/kb2295)\
**Post date:** [February 19, 2019, 7:39pm UTC](https://discuss.elastic.co/t/installing-keystore/163793/6 "2019-02-19T19:39:31Z")

</div>

Sorry, I forgot to mention I'm using logstash 5.6

Is there a guide on how i can use logstash-keystore with 5.6?

---

<div class="post-metadata">

**Author:** ![pr0b3l](https://avatars.discourse-cdn.com/v4/letter/p/a6a055/32.png) [@pr0b3l](https://discuss.elastic.co/u/pr0b3l)\
**Post date:** [February 28, 2019, 11:57am UTC](https://discuss.elastic.co/t/installing-keystore/163793/7 "2019-02-28T11:57:20Z")

</div>

logstash-keystore is not add in version 5.6  
[https://www.elastic.co/guide/en/logstash/5.6/setup-logstash.html](https://www.elastic.co/guide/en/logstash/5.6/setup-logstash.html)  
logstash-keystore add only in 6.2  
[https://www.elastic.co/guide/en/logstash/6.2/keystore.html](https://www.elastic.co/guide/en/logstash/6.2/keystore.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:** [March 28, 2019, 11:57am UTC](https://discuss.elastic.co/t/installing-keystore/163793/8 "2019-03-28T11:57:26Z")

</div>

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