# Http input plugin ssl

**URL:** <https://discuss.elastic.co/t/http-input-plugin-ssl/119650>\
**Category:** Logstash\
**Created:** [February 13, 2018, 1:46pm UTC](https://discuss.elastic.co/t/http-input-plugin-ssl/119650 "2018-02-13T13:46:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GerardBIGOT](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@GerardBIGOT](https://discuss.elastic.co/u/GerardBIGOT)\
**Post date:** [February 13, 2018, 1:46pm UTC](https://discuss.elastic.co/t/http-input-plugin-ssl/119650/1 "2018-02-13T13:46:09Z")

</div>

Hi,

The http input plugin works great without SSL.

I'm trying to enable the SSL in the http input plugin of logstash.

The Beats input plugin works flowlessly with SSL.

But, trying to implement the same in http, I can't seem to be able to achieve my goal :

> http {  
> port =\> PORT  
> user =\> "USER"  
> password =\> "PASSWD"  
> ssl =\> true  
> keystore =\> "/ssl/server.jks"  
> keystore\_password =\> "JKS\_PASSWD"  
> }

I created jks with keytool using the certificates which enable the beats input plugin to work on the same system.

But testing with curl like this :

> curl --verbose -X PUT -H "content-type: application/json" -T JSON.json --user USER:PASSWD [https://SERVER](https://SERVER):PORT --cert ./client.crt.pem --key ./client.key.pem --cacert ./cacert.pem

I see it connected to the server, but it ends with :

> curl: (35) OpenSSL SSL\_connect: SSL\_ERROR\_SYSCALL in connection to SERVER:PORT

I tried to tweak ALPN, TLS, cipher Curl parameters to the same result.

I tried to follow similar topics to no results.

Thanks in advance.

gerard.

---

<div class="post-metadata">

**Author:** ![stephane.ris](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@stephane.ris](https://discuss.elastic.co/u/stephane.ris)\
**Post date:** [February 26, 2018, 6:55pm UTC](https://discuss.elastic.co/t/http-input-plugin-ssl/119650/2 "2018-02-26T18:55:01Z")

</div>

Hello, did you make it work? I'm also trying to activate ssl on the http input plugin of logstash? Thanks,

---

<div class="post-metadata">

**Author:** ![GerardBIGOT](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@GerardBIGOT](https://discuss.elastic.co/u/GerardBIGOT)\
**Post date:** [March 26, 2018, 12:50pm UTC](https://discuss.elastic.co/t/http-input-plugin-ssl/119650/3 "2018-03-26T12:50:45Z")

</div>

Hello,

no, it still doesn't work.

Kind regards

---

<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:** [April 23, 2018, 12:51pm UTC](https://discuss.elastic.co/t/http-input-plugin-ssl/119650/4 "2018-04-23T12:51:17Z")

</div>

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