# Logstach SSL issue

**URL:** <https://discuss.elastic.co/t/logstach-ssl-issue/102019>\
**Category:** Logstash\
**Created:** [September 27, 2017, 6:59pm UTC](https://discuss.elastic.co/t/logstach-ssl-issue/102019 "2017-09-27T18:59:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fouzmtl](https://avatars.discourse-cdn.com/v4/letter/f/a3d4f5/32.png) [@fouzmtl](https://discuss.elastic.co/u/fouzmtl)\
**Post date:** [September 27, 2017, 6:59pm UTC](https://discuss.elastic.co/t/logstach-ssl-issue/102019/1 "2017-09-27T18:59:28Z")

</div>

Hello,

I m new to Logstach/ElasticSearch. I m trying to configure the system to use SSL:  
I have downloaded xpack to create the SSL documentation . I m having hard time to  
configure it. Logstach is logstach-5.6.1.

I have used x-pack for generating the SSL certificate 😰

[root@els localhost]# curl -v --cacert localhost.crt [https://localhost:5044](https://localhost:5044)

- About to connect() to localhost port 5044 (#0)
- Trying ::1... connected
- Connected to localhost (::1) port 5044 (#0)
- Initializing NSS with certpath: sql:/etc/pki/nssdb
- CAfile: localhost.crt  
CApath: none

NO OUTPUT

Here is logstach log .

[2017-09-27T13:28:43,419][INFO][org.logstash.beats.BeatsHandler] Exception: javax.net.ssl.SSLHandshakeException: error:100000c0:SSL routines:OPENSSL\_internal:PEER\_DID\_NOT\_RETURN\_A\_CERTIFICATE, from: /127.0.0.1:42800  
[2017-09-27T13:28:57,462][INFO][org.logstash.beats.BeatsHandler] Exception: javax.net.ssl.SSLHandshakeException: error:10000412:SSL routines:OPENSSL\_internal:SSLV3\_ALERT\_BAD\_CERTIFICATE  
[2017-09-27T13:29:57,990][INFO][org.logstash.beats.BeatsHandler] Exception: javax.net.ssl.SSLHandshakeException: error:100000c0:SSL routines:OPENSSL\_internal:PEER\_DID\_NOT\_RETURN\_A\_CERTIFICATE  
[2017-09-27T13:30:28,482][INFO][org.logstash.beats.BeatsHandler] Exception: javax.net.ssl.SSLHandshakeException: error:100000c0:SSL routines:OPENSSL\_internal:PEER\_DID\_NOT\_RETURN\_A\_CERTIFICATE

Thanks for your Help !

---

<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:** [October 25, 2017, 6:59pm UTC](https://discuss.elastic.co/t/logstach-ssl-issue/102019/2 "2017-10-25T18:59:38Z")

</div>

Closed on October 25, 2017, 6:59pm UTC

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