# SSL communication between Filebeat 5.6.2 and Kafka 0.10

**URL:** <https://discuss.elastic.co/t/ssl-communication-between-filebeat-5-6-2-and-kafka-0-10/133612>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 29, 2018, 5:32am UTC](https://discuss.elastic.co/t/ssl-communication-between-filebeat-5-6-2-and-kafka-0-10/133612 "2018-05-29T05:32:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SubashKunjupillai](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SubashKunjupillai](https://discuss.elastic.co/u/SubashKunjupillai)\
**Post date:** [May 29, 2018, 5:32am UTC](https://discuss.elastic.co/t/ssl-communication-between-filebeat-5-6-2-and-kafka-0-10/133612/1 "2018-05-29T05:32:34Z")

</div>

Hi,

We are sending filebeat output to Kafka running in 3 nodes. We have enabled 2-way SSL communication in Kafka. Now we want to make filebeat (client for kafka) to be authenticated by Kafka.

My doubt is how to update filebeat.yml with ssl certificate for each host? Because we have provided a list of hosts in filebeat.yml.

> ```
> output.kafka:
> enabled: true
> version: 0.10.0.0
> hosts: ["host1:9093", "host2:9093", "host3:9093"]
> topic: 'TOPIC1'
> 
> ```

Can someone please help with this?

Regards,  
Subash Kunjupillai

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [June 1, 2018, 10:51am UTC](https://discuss.elastic.co/t/ssl-communication-between-filebeat-5-6-2-and-kafka-0-10/133612/2 "2018-06-01T10:51:48Z")

</div>

You can provide the certificates using the `ssl` option of Kafka output. See here: [https://www.elastic.co/guide/en/beats/filebeat/master/kafka-output.html#\_literal\_ssl\_literal\_3](https://www.elastic.co/guide/en/beats/filebeat/master/kafka-output.html#_literal_ssl_literal_3)

---

<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 29, 2018, 10:51am UTC](https://discuss.elastic.co/t/ssl-communication-between-filebeat-5-6-2-and-kafka-0-10/133612/3 "2018-06-29T10:51:48Z")

</div>

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