Logstash authentication in rabbitMQ: PKIX path building failed

Hi guys,

Help me set up logstash authentication in rabbitMQ using a certificate.

Input config:

rabbitmq {
id => "Inspector.IncomingEvents"
host => 'server1'
vhost => "TEST"
queue => "Inspector.IncomingEvents"
durable => true
user => 'logstash'
ssl => "true"
ssl_certificate_path => ["C:/Services/Certs/cert.pfx"]
ssl_certificate_password => "password"
metadata_enabled => true
add_field => {
"[@logRecordType]" => "Event"
}
}

When a start Logstash -f logstash.conf, i get an error:

[ERROR][logstash.inputs.rabbitmq ] RabbitMQ connection error, will retry. {:error_message=>"sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target", :exception=>"Java::JavaxNetSsl::SSLHandshakeException"}

In RabbitmMQ log:

[info] <0.7281.0> TLS server: In state certify received CLIENT ALERT: Fatal - Certificate Unknown

I use windows platform in servers Logstash and RabbitMQ.

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