# How to setup logstash SSL with x-pack 5.0?

**URL:** <https://discuss.elastic.co/t/how-to-setup-logstash-ssl-with-x-pack-5-0/68185>\
**Category:** Logstash\
**Created:** [December 6, 2016, 3:24pm UTC](https://discuss.elastic.co/t/how-to-setup-logstash-ssl-with-x-pack-5-0/68185 "2016-12-06T15:24:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertchen117](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@robertchen117](https://discuss.elastic.co/u/robertchen117)\
**Post date:** [December 6, 2016, 3:24pm UTC](https://discuss.elastic.co/t/how-to-setup-logstash-ssl-with-x-pack-5-0/68185/1 "2016-12-06T15:24:44Z")

</div>

I enabled the elasticsearch 5.0.1 SSL with following this doc:

xpack.ssl.key: /home/es/config/x-pack/node01.key  
xpack.ssl.certificate: /home/es/config/x-pack/node01.crt  
xpack.ssl.certificate\_authorities: ["/home/es/config/x-pack/ca.crt"]

[https://www.elastic.co/guide/en/x-pack/current/ssl-tls.html](https://www.elastic.co/guide/en/x-pack/current/ssl-tls.html)

but to enable logstash ssl ( [https://www.elastic.co/guide/en/x-pack/current/logstash.html](https://www.elastic.co/guide/en/x-pack/current/logstash.html)) , I do not know where is the cert.pem? The above doc only has ca.crt and ca.key. This doc is very bad right now, not clear. Please help ?

output {  
elasticsearch {  
...  
ssl =\> true  
cacert =\> '/path/to/cert.pem'  
}  
}

---

<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:** [January 3, 2017, 3:24pm UTC](https://discuss.elastic.co/t/how-to-setup-logstash-ssl-with-x-pack-5-0/68185/2 "2017-01-03T15:24:48Z")

</div>

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