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: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.