# TLS Error in Logstash

**URL:** https://discuss.elastic.co/t/tls-error-in-logstash/326962
**Category:** Logstash
**Created:** [March 3, 2023, 5:25pm UTC](https://discuss.elastic.co/t/tls-error-in-logstash/326962 "2023-03-03T17:25:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sta02](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sta02](https://discuss.elastic.co/u/sta02)
#### Post date: [March 3, 2023, 5:25pm UTC](https://discuss.elastic.co/t/tls-error-in-logstash/326962/1 "2023-03-03T17:25:53Z")

</div>

Hello,  
We are trying to send logs from an application hosted in kubernetes cluster to logstash via fluentd.  
The logs are sent in syslog over TCP on an encrypted channel with TLS configuration. At the logstash end we are receiving the following error.

We have imported the TLS certificates onto the application hosted in Kubernetes cluster.

```auto
**[ERROR][logstash.inputs.tcp][main][2e881b33b1ae0b84fc8ec28ef74ddbcb1874fc6a6f7db7466914f728f0ac94bb] null: closing due:**
 **io.netty.handler.codec.DecoderException: io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record:**

```

Below is the Logstash pipeline configuration.

```auto
**input {**
 **tcp {**
 **port => 56514**
 **type => "syslog"**
 **ssl_enable => true**
**ssl_extra_chain_certs => ["certificate with the path.pem"]**
 **ssl_cert => "certificate with the path.crt"**
 **ssl_key => "certificate with the path.key"**
 **ssl_verify => false**
 **}**
 **}**

```

Can you please advise on this.  
Thanks in advance

Siddarth

---

<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: [March 31, 2023, 5:26pm UTC](https://discuss.elastic.co/t/tls-error-in-logstash/326962/2 "2023-03-31T17:26:48Z")

</div>

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