Skip to content

support configuration of TLS/SSL parameters like protocol version and ciphers #624

@bounddog

Description

@bounddog

I'm using Elasticsearch v5.4.2 with SSL enabled and Logstash v5.4.2.
The Elasticsearch was configured to accept TLSv1.2 protocol only. Enabled the SSL in elasticsearch output plugin in logstash, but the SSL handshake always failed due to SSL client in this plugin always use TLSv1 which is rejected by Elasticsearch. I found there is no way to configure the SSL protocol for this plugin.
I have to hack the elasticseach output plugin to make it work after I read this plugin source code.
edit file "logstash-5.4.2//vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.3.2-java/lib/logstash/outputs/elasticsearch/http_client_builder.rb"
Add bellow code to line 118:
ssl_options[:protocols] = ["TLSv1.2"]

I suggest you guys enhance the plugin to make it support the SSL protocol configuration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions