Open Rambatino opened 4 years ago
I can confirm this also happens in logstash 6.8.12. PEM format not supported, must be DER for the cacert.
Still happens on logstash 7.6, I've lost a day following documentaion before reading this post ...
Still happens on Logstash 7.12.0
still the case in 7.15.0
Please post all product and debugging questions on our forum. Your questions will reach our wider community members there, and if we confirm that there is a bug, then we can open a new issue here.
For all general issues, please provide the following details for fast resolution:
Steps to Reproduce:
pass a
pem
cacert tocacert
parameter.Get errors on boot up:
[2020-03-26T08:42:02,607][ERROR][logstash.javapipeline ][main] Pipeline aborted due to error {:pipeline_id=>"main", :exception=>java.security.cert.CertificateParsingException: signed fields invalid
However,
convert pem -> crt using:
openssl x509 -outform der -in elastic-certificate.pem -out elastic-certificate.crt
And pass a crt instead fixes the problem.
Implying that pem are not accepted in the elasticsearch output, however, they are documented as being accepted: