logstash-plugins/logstash-integration-kafka

ssl Mutual authentication fail

optimistic9527 opened this issue · 1 comments

  • Version logstash:7.7.1
  • Operating System: macos
  • Config File :
input {
    udp {
        port => 1888
    }
}


output {
    kafka {
        bootstrap_servers => "10.217.56.218:9093"
        codec => json
        security_protocol => "SSL"
        ssl_truststore_location => "/usr/share/logstash/config/forward.kafka.truststore.jks"
        ssl_truststore_password => "123456"
        ssl_truststore_type => "jks"
        ssl_keystore_location => "/usr/share/logstash/config/forward.kafka.keystore.jks"
        ssl_keystore_password => "123456"
        ssl_keystore_type => "jks"
        topic_id => "test111"
        client_id => "test111"
    }
}

output {
    stdout {
        codec => rubydebug {
                     metadata => true
                 }
    }
}

  • Sample Data: any data
  • Steps to Reproduce:
  1. start kafka with Mutual authentication
  2. start logstash
  3. ssl handshake fail
    image

then

  1. use logstash:6.2.4,same configuration
  2. start logstash。
  3. ssl handshake success
    image