# Documentation Suggestion | Secure communication with Logstash

**URL:** <https://discuss.elastic.co/t/documentation-suggestion-secure-communication-with-logstash/268146>\
**Category:** Logstash\
**Created:** [March 23, 2021, 10:11pm UTC](https://discuss.elastic.co/t/documentation-suggestion-secure-communication-with-logstash/268146 "2021-03-23T22:11:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lorenzop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lorenzop/32/85986_2.png) [@lorenzop](https://discuss.elastic.co/u/lorenzop)\
**Post date:** [March 23, 2021, 10:11pm UTC](https://discuss.elastic.co/t/documentation-suggestion-secure-communication-with-logstash/268146/1 "2021-03-23T22:11:39Z")

</div>

> **[Secure communication with Logstash | Filebeat Reference \[7.12\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/configuring-ssl-logstash.html)**

In this guide, specifically the section for configuring Logstash to receive secure communications using an SSL certificate, we experienced difficulty getting this setup and were actually only able to get the server to start without errors after importing the internally-distributed certificate's CA chain into the Java keystore used by Logstash.

To do this import I did:  
/usr/share/logstash/jdk/bin/keytool -importcert -noprompt -cacerts -trustcacerts -file /path/to/chain.pem -alias chain.pem

This was on a CentOS 7 system running Logstash 7.11.1

I chose not to update the documentation directly because I am not positive I have a full understanding of the dependencies in this scenario.

---

<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:** [April 20, 2021, 10:11pm UTC](https://discuss.elastic.co/t/documentation-suggestion-secure-communication-with-logstash/268146/2 "2021-04-20T22:11:41Z")

</div>

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