# Logstash elasticsearch input plugin disable ssl verification

**URL:** <https://discuss.elastic.co/t/logstash-elasticsearch-input-plugin-disable-ssl-verification/272979>\
**Category:** Logstash\
**Tags:** elastic-stack-security\
**Created:** [May 14, 2021, 6:38am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-input-plugin-disable-ssl-verification/272979 "2021-05-14T06:38:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikasp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikasp/32/90872_2.png) [@vikasp](https://discuss.elastic.co/u/vikasp)\
**Post date:** [May 14, 2021, 6:38am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-input-plugin-disable-ssl-verification/272979/1 "2021-05-14T06:38:47Z")

</div>

Hi Team,  
I was wondering if we have an option to disable ssl verification for logstash elasticsearch input plugin.  
Since the stack is deployed with certs created by elasticsearch cert util, just by adding cacert is not sufficient.

I see that ssl\_certificate\_verification =\> false in output plugin. I am looking for something similar in input plugin.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [May 14, 2021, 7:06am UTC](https://discuss.elastic.co/t/logstash-elasticsearch-input-plugin-disable-ssl-verification/272979/2 "2021-05-14T07:06:04Z")

</div>

> [@vikasp](#):
>
> Since the stack is deployed with certs created by elasticsearch cert util, just by adding cacert is not sufficient.

There is no reason why that would be the case. The certificates generated by certutil are regular certificates and the CA can be added as a trusted CA in the plugin.

---

<div class="post-metadata">

**Author:** ![vikasp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikasp/32/90872_2.png) [@vikasp](https://discuss.elastic.co/u/vikasp)\
**Post date:** [May 14, 2021, 3:54pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-input-plugin-disable-ssl-verification/272979/3 "2021-05-14T15:54:19Z")

</div>

This was my first time dealing with elasticsearch input plugin:  
I learned that the plugin, just issues the query and stops if no schedule is configured.  
I got some ssl error which is resolved by configuring with the correct CA file. (sry for the misunderstanding timV and thanks for clarifying, had no idea why I thought that).

Also, it would be great if you guys log something on the query status into logstash info/debug logs. I couldn't see any logs and the reason I couldn't see anything in my output was my query had a time filter of dates in which there was no data which was the issue for me. Its just that I took a wrong sample index/date combination for my testing ☹

---

<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:** [June 11, 2021, 3:54pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-input-plugin-disable-ssl-verification/272979/4 "2021-06-11T15:54:35Z")

</div>

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