# How to escape SSL certificate verification in Elastic search input for logstash

**URL:** <https://discuss.elastic.co/t/how-to-escape-ssl-certificate-verification-in-elastic-search-input-for-logstash/150235>\
**Category:** Logstash\
**Created:** [September 27, 2018, 5:56pm UTC](https://discuss.elastic.co/t/how-to-escape-ssl-certificate-verification-in-elastic-search-input-for-logstash/150235 "2018-09-27T17:56:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@Dan](https://discuss.elastic.co/u/Dan)\
**Post date:** [September 27, 2018, 5:56pm UTC](https://discuss.elastic.co/t/how-to-escape-ssl-certificate-verification-in-elastic-search-input-for-logstash/150235/1 "2018-09-27T17:56:07Z")

</div>

I Installed read-only rest plugin for Elastic search 5.6.1

And I changed elasticsearch.yml file for security and SSL.  
They are working fine but SSL I generated locally.  
When I am using elastic search as output in logstash I am using below method to escape SSL verification.

ssl\_certificate\_verification =\> false

When I am using the same thing in Elastic Search input for logstash it’s not working, Please suggest me what I am missing in below elastic search input for logstash.

input {  
elasticsearch {  
hosts =\> [“[https://127.0.0.1:9200](https://127.0.0.1:9200/)” ]  
ssl =\> true  
ssl\_certificate\_verification =\> false  
index =\> “logstash-index1”  
user =\> “XXXXXXX”  
password =\> “XXXXXXX”  
size =\> 1000  
scroll =\> “5m”  
docinfo =\> true  
}  
}

Thanks in Advance...................

---

<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 25, 2018, 5:56pm UTC](https://discuss.elastic.co/t/how-to-escape-ssl-certificate-verification-in-elastic-search-input-for-logstash/150235/2 "2018-10-25T17:56:09Z")

</div>

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