elastic / logstash

Logstash - transport and process your logs, events, or other data
https://www.elastic.co/products/logstash
Other
72 stars 3.5k forks source link

Issue with self-signed certificates #8796

Open jstoja opened 6 years ago

jstoja commented 6 years ago

Hello,

I'm having troubled with self-signed certificate, but also using my own CA. Each time I get the following: [2017-12-04T16:41:50,264][ERROR][logstash.inputs.beats ] Looks like you either have a bad certificate, an invalid key or your private key was not in PKCS8 format.

Even if the key is with the right format. I also checked with openssl and the crt/key pair is correct... Any idea how it's possible ?

For all general issues, please provide the following details for fast resolution:

jstoja commented 6 years ago

Probably specific to Beats Input plugin to (cf issue https://github.com/logstash-plugins/logstash-input-beats/issues/197)

peksilli commented 6 years ago

Same problem here, following the same instructions. CRT matches with key pair, OpenSSL 1.0.2g 1 Mar 2016.