'I cannot initialize Logstash 7.16. Unsupported SSL

Logstash 7.16. OpenSearch output plugin. Tarball. Run:

./bin/logstash --path.settings /opt/logstash/config --verbose

Error message:

...
[ERROR][logstash.javapipeline    ][fallback] Pipeline error {:pipeline_id=>"fallback", :exception=>#<Manticore::UnknownException: Unsupported or unrecognized SSL message>,
...

Output configuration file:

output {
  opensearch {
    hosts => [ "<IP>" ]
    user => "user"
    password => "password"
    index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
    ssl => true
    ssl_certificate_verification => false
    cacert => "/opt/logstash/config/tls/root-ca.crt"
    keystore => "/opt/logstash/config/tls/logstash-elasticsearch-output-client.p12"
    keystore_password => "<passwd>"
  }
}

Thanks for your attention



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source