# Error while starting elasticsearch v8.9.1

**URL:** <https://discuss.elastic.co/t/error-while-starting-elasticsearch-v8-9-1/343335>\
**Category:** Elasticsearch\
**Created:** [September 19, 2023, 8:51am UTC](https://discuss.elastic.co/t/error-while-starting-elasticsearch-v8-9-1/343335 "2023-09-19T08:51:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanyam](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sanyam](https://discuss.elastic.co/u/sanyam)\
**Post date:** [September 19, 2023, 8:51am UTC](https://discuss.elastic.co/t/error-while-starting-elasticsearch-v8-9-1/343335/1 "2023-09-19T08:51:35Z")

</div>

Whenever I start up ES by running ES .bat file on Windows, I receive this error:

[ERROR][o.e.b.Elasticsearch] [node-1] fatal exception while booting Elasticsearchorg.elasticsearch.ElasticsearchSecurityException: invalid configuration for xpack.security.transport.ssl - [xpack.security.transport.ssl.enabled] is not set, but the following settings have been configured in elasticsearch.yml : [xpack.security.transport.ssl.keystore.secure\_password,xpack.security.transport.ssl.truststore.secure\_password] at org.elasticsearch.xcore@8.9.1/org.elasticsearch.xpack.core.ssl.SSLService.validateServerConfiguration(SSLService.java:650) at org.elasticsearch.xcore@8.9.1/org.elasticsearch.xpack.core.ssl.SSLService.loadSslConfigurations(SSLService.java:624) at org.elasticsearch.xcore@8.9.1/org.elasticsearch.xpack.core.ssl.SSLService.(SSLService.java:159) at org.elasticsearch.xcore@8.9.1/org.elasticsearch.xpack.core.XPackPlugin.createSSLService(XPackPlugin.java:495) at org.elasticsearch.xcore@8.9.1/org.elasticsearch.xpack.core.XPackPlugin.createComponents(XPackPlugin.java:324)

How can I resolve this?

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [September 19, 2023, 8:57am UTC](https://discuss.elastic.co/t/error-while-starting-elasticsearch-v8-9-1/343335/2 "2023-09-19T08:57:07Z")

</div>

Hi @sanyam,

> [@sanyam](#):
>
> Elasticsearchorg.elasticsearch.ElasticsearchSecurityException: invalid configuration for xpack.security.transport.ssl - [xpack.security.transport.ssl.enabled] is not set,

Can you try setting the `xpack.security.transport.ssl.enabled` option in your configuration?

---

<div class="post-metadata">

**Author:** ![sanyam](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sanyam](https://discuss.elastic.co/u/sanyam)\
**Post date:** [September 20, 2023, 6:07am UTC](https://discuss.elastic.co/t/error-while-starting-elasticsearch-v8-9-1/343335/3 "2023-09-20T06:07:34Z")

</div>

I tried, but still the same error continues.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [September 20, 2023, 10:32am UTC](https://discuss.elastic.co/t/error-while-starting-elasticsearch-v8-9-1/343335/4 "2023-09-20T10:32:21Z")

</div>

Ok, can you share your configuration please?

---

<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 18, 2023, 10:32am UTC](https://discuss.elastic.co/t/error-while-starting-elasticsearch-v8-9-1/343335/5 "2023-10-18T10:32:33Z")

</div>

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