-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.319.2
Logstash 2.5.0205.vd05825ed46bd
Hello,
I am struggling to send build logs to Elasticsearch via direct api. I am able to send logs via logstash, but our elasticsearch cluster uses custom (self signed) certificate, and I do not want to add it to certificate store.
The drop down option "Custom Server Certificate" seems to be exactly what I need, however I am not able to select any certificate in there, it always shows "None". Even when I "Add"->Jenkins new X.509 certificate, it still shows None aterwards.
The code populating the dropdown is here: https://github.com/jenkinsci/logstash-plugin/blob/69624f34bd5ac133d825da8dfca6a11612830763/src/main/java/jenkins/plugins/logstash/configuration/ElasticSearch.java#L233
I'm not sure why it's not matching the certificate you added. I think it's because it expect a keystore certificate not a x.509 one.
PR to support x.509 are welcome