# Logstash to Cloud Elasticsearch thorugh SSL issue

**URL:** <https://discuss.elastic.co/t/logstash-to-cloud-elasticsearch-thorugh-ssl-issue/177323>\
**Category:** Logstash\
**Created:** [April 17, 2019, 2:53pm UTC](https://discuss.elastic.co/t/logstash-to-cloud-elasticsearch-thorugh-ssl-issue/177323 "2019-04-17T14:53:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lathanaganna](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@Lathanaganna](https://discuss.elastic.co/u/Lathanaganna)\
**Post date:** [April 17, 2019, 2:53pm UTC](https://discuss.elastic.co/t/logstash-to-cloud-elasticsearch-thorugh-ssl-issue/177323/1 "2019-04-17T14:53:40Z")

</div>

Trying to load data from MySQL to Elasticsearch over IBM cloud using Logstash. This is secured service, need to use SSL. following is the elasticsearch setting i am providing in logstash config. It is giving error as No certificate data found.

Using LogStash 6.5.x and elasticsearch 6.5.x

output {  
elasticsearch {  
action=\>"index"  
hosts=\>["https://:@:/"]  
index=\>"test\_location"  
document\_type=\>"%{type}"  
ssl=\>true  
ssl\_certificate\_verification=\>true  
cacert=\>"D:/Data/Logstash-ES-6.5-Mapping/ca\_logstash.cer"  
}  
stdout {}  
}

Let me know what is that i am missing in the configuration.

NOTE: Same certificate is working using elasticdump tool

---

<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:** [May 15, 2019, 2:53pm UTC](https://discuss.elastic.co/t/logstash-to-cloud-elasticsearch-thorugh-ssl-issue/177323/2 "2019-05-15T14:53:46Z")

</div>

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