Add TLS support to AMQP outputs

Description

REquested on IRC:

13:45:59 <artbikes> lusis: any luck in tracking down how to configure logstash to connect to rabbitmq with TLS?

The only concern here is if it's rabbit specific or not.

Activity

Show:
Art Witczak
February 2, 2012, 7:15 PM

Background.

I can successfully conduct transactions with RabbitMQ over TLS using the amqp ruby gem explicitly providing the location of my certificates via:

certificate_chain_file_path = File.join("certs", "cert.pem")
client_private_key_file_path = File.join("certs", "key.pem")

I am unable to find logstash documentation on how to configure TLS connections with RabbitMQ.

Thanks.

Art Witczak
February 2, 2012, 7:18 PM
Edited

Working currently without TLS - logstash-1.1.0beta8-monolithic.jar

output {
amqp {
name => "logstash-exchange"
exchange_type => "direct"
host => "192.168.0.1"
key => "logstash-routing-key"
durable => true
persistent => true
port => "5672"
user => "guest"
password => "guest"
}
}

Jan Seidl
March 1, 2012, 7:06 AM
Nick Ethier
March 22, 2013, 2:13 AM

SSL is a supported option in rabbitmq plugins.

Assignee

John E. Vincent

Reporter

John E. Vincent

Labels

None
Configure