Connect logstash to Kafka with SSL throws error

Hi ,

Logstash version : logstash-6.6.1
I am trying to connect logstash with kafka input plugin having SSL enabled

input {

kafka{
group_id => "logstash-consumer-group-local"
topics => ["topic"]
bootstrap_servers => "<host>:9093"
codec => json
security_protocol => "SSL"
ssl_truststore_location => "<path of truststore>"
ssl_truststore_password => "<password>"

}

}

with this config I am seeing pipeline starting with error:

Pipeline aborted due to error {:pipeline_id=>"main", :exception=>#<Manticore::UnknownException: Unrecognized SSL message, plaintext connection?>,

Please let me know what settings/configuration I am missing in logstash to connect Kafka with SSL

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.