# Please help - Error in logstash shipper

**URL:** <https://discuss.elastic.co/t/please-help-error-in-logstash-shipper/120058>\
**Category:** Logstash\
**Created:** [February 15, 2018, 7:15pm UTC](https://discuss.elastic.co/t/please-help-error-in-logstash-shipper/120058 "2018-02-15T19:15:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pklanka](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@pklanka](https://discuss.elastic.co/u/pklanka)\
**Post date:** [February 15, 2018, 7:15pm UTC](https://discuss.elastic.co/t/please-help-error-in-logstash-shipper/120058/1 "2018-02-15T19:15:52Z")

</div>

Hi there

We have been facing some challenges with logstash shipper - which is basically showing the below error message millions of times. We do not see any logs processed. Certificates are not expired.

Can anyone please help!

> [2018-02-15T19:05:54,771][ERROR][org.logstash.beats.BeatsHandler] Exception: javax.net.ssl.SSLHandshakeException: error:10000412:SSL routines:OPENSSL\_internal:SSLV3\_ALERT\_BAD\_CERTIFICATE

Below is our shipper input configuration -

> input {  
> beats {  
> port =\> 5044  
> ssl =\> true  
> ssl\_certificate =\> "${LS\_SETTINGS\_DIR:logstash-shipper-configuration}/certs/logstash-shipper.crt"  
> ssl\_key =\> "${LS\_SETTINGS\_DIR:logstash-shipper-configuration}/certs/logstash-shipper.key"  
> }  
> }

Below is our shipper output configuration -

> output {  
> redis {  
> port =\> 6379  
> host =\> REDACTED  
> password =\> REDACTED  
> timeout =\> 10  
> data\_type =\> "list"  
> batch =\> "true"  
> }  
> }

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 15, 2018, 7:46pm UTC](https://discuss.elastic.co/t/please-help-error-in-logstash-shipper/120058/2 "2018-02-15T19:46:39Z")

</div>

You are giving it a certificate in crt format. I think it wants pem.

---

<div class="post-metadata">

**Author:** ![pklanka](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@pklanka](https://discuss.elastic.co/u/pklanka)\
**Post date:** [February 20, 2018, 10:33pm UTC](https://discuss.elastic.co/t/please-help-error-in-logstash-shipper/120058/3 "2018-02-20T22:33:17Z")

</div>

Unfortunately it is pem file. Named different.

Any other reasons why we are seeing this error?

---

<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 20, 2018, 10:33pm UTC](https://discuss.elastic.co/t/please-help-error-in-logstash-shipper/120058/4 "2018-03-20T22:33:50Z")

</div>

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