# Custom TCP integration with TLS

**URL:** <https://discuss.elastic.co/t/custom-tcp-integration-with-tls/349679>\
**Category:** Logstash\
**Created:** [December 19, 2023, 7:25pm UTC](https://discuss.elastic.co/t/custom-tcp-integration-with-tls/349679 "2023-12-19T19:25:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CodeMonky](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@CodeMonky](https://discuss.elastic.co/u/CodeMonky)\
**Post date:** [December 19, 2023, 7:25pm UTC](https://discuss.elastic.co/t/custom-tcp-integration-with-tls/349679/1 "2023-12-19T19:25:44Z")

</div>

Good day all.

I hope this is a simple question, but I've not been able to find any info. For the custom TCP integration that can be used when there's not an Elastic provided integration to use for data ingestion: does it also support TLS or just SSL?

I see in the actual integration there's a section for the SSL cert, but not TLS. Any info would greatly help.

---

<div class="post-metadata">

**Author:** ![yago82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yago82/32/97755_2.png) [@yago82](https://discuss.elastic.co/u/yago82)\
**Post date:** [December 19, 2023, 9:33pm UTC](https://discuss.elastic.co/t/custom-tcp-integration-with-tls/349679/2 "2023-12-19T21:33:53Z")

</div>

Hi,

The custom TCP integration in Elasticsearch supports both SSL and TLS.

> **[Configure SSL | Filebeat Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-ssl.html#supported-protocols)**

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [December 19, 2023, 9:59pm UTC](https://discuss.elastic.co/t/custom-tcp-integration-with-tls/349679/3 "2023-12-19T21:59:11Z")

</div>

> [@CodeMonky](#):
>
> does **it** also support TLS or just SSL?

Hi @CodeMonky`it` is not exactly clear what you are asking, what `it` are you referring to?

Are you asking for logsash does the TCP Input Support TLS... Yes it does

> **[Tcp input plugin | Logstash Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-tcp.html#plugins-inputs-tcp-ssl_supported_protocols)**

---

<div class="post-metadata">

**Author:** ![CodeMonky](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@CodeMonky](https://discuss.elastic.co/u/CodeMonky)\
**Post date:** [December 19, 2023, 10:04pm UTC](https://discuss.elastic.co/t/custom-tcp-integration-with-tls/349679/4 "2023-12-19T22:04:21Z")

</div>

Hey stephenb.

Sorry. I am referring to this:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/7/17fe81cc3c63d903fe0fd4d580d8f3eb6e548bf7.png)

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [December 19, 2023, 10:10pm UTC](https://discuss.elastic.co/t/custom-tcp-integration-with-tls/349679/5 "2023-12-19T22:10:42Z")

</div>

Open the Advanced Settings and you will see a place to put all the SSL Settings

 ![Screenshot 2023-12-19 at 2.08.00 PM](https://us1.discourse-cdn.com/elastic/original/3X/2/8/287c732d11ac920827614bc252d174b62884408b.png)  
 ![Screenshot 2023-12-19 at 2.08.12 PM](https://us1.discourse-cdn.com/elastic/original/3X/f/3/f331647f2cd941be33ed7666274f7cf1829367a5.png)

And as @yago82 Referred to this actually uses filebeat under the covers to the filebeat settings are the correct settings to apply

> **[Configure SSL | Filebeat Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-ssl.html#ssl-server-config)**

---

<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 16, 2024, 10:11pm UTC](https://discuss.elastic.co/t/custom-tcp-integration-with-tls/349679/6 "2024-01-16T22:11:41Z")

</div>

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