# Logstash keystore Error

**URL:** <https://discuss.elastic.co/t/logstash-keystore-error/260689>\
**Category:** Logstash\
**Created:** [January 11, 2021, 9:26am UTC](https://discuss.elastic.co/t/logstash-keystore-error/260689 "2021-01-11T09:26:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![baddack](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baddack/32/100535_2.png) [@baddack](https://discuss.elastic.co/u/baddack)\
**Post date:** [January 11, 2021, 9:26am UTC](https://discuss.elastic.co/t/logstash-keystore-error/260689/1 "2021-01-11T09:26:26Z")

</div>

Hello everyone,

Can someone help me to solve this error please?

```
adminsys@logstash:/etc/logstash # /usr/share/logstash/bin/logstash --path.settings /etc/logstash -t
Thread.exclusive is deprecated, use Thread::Mutex
Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
[2021-01-11T10:19:16,945][FATAL][logstash.runner] The given configuration is invalid. Reason: Found a file at /etc/logstash/logstash.keystore, but it is not a valid Logstash keystore.
[2021-01-11T10:19:16,968][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
```

---

<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:** [February 8, 2021, 9:26am UTC](https://discuss.elastic.co/t/logstash-keystore-error/260689/2 "2021-02-08T09:26:47Z")

</div>

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