[rabbitmq-discuss] shovel and ssl question

Michael Klishin mklishin at gopivotal.com
Wed May 28 12:48:53 BST 2014


 On 28 May 2014 at 15:43:54, Dor Ben Dov (dor.b at softweave.co) wrote:
> > I have one rabbit with shovel plugin (lets call it X) that works  
> with
> another rabbit on a different server (lets call it Y).
>  
> i need that the communication between the shovel and the other  
> rabbit
> would be encrypted , ssl i assume.
>  
> Does it means i need to read and follow this
> http://www.rabbitmq.com/ssl.html or maybe something simpler  
> ?

Yes, you need to enable SSL in the server:
http://www.rabbitmq.com/ssl.html

and configure Shovel (RabbitMQ Erlang client, to be precise) to use SSL
via URI query parameters:
http://www.rabbitmq.com/uri-query-parameters.html

> let's say that i have a python file with pika that sends messages  
> to the
> rabbit on X server.
> Will i have a problem continue using it after i will set the ssl  
> for the
> rabbits ?

You need to connect to a different port (5671 by default)
and instruct Pika to connect using SSL. Search for "SSL"
on http://pika.readthedocs.org/en/0.9.6/examples/using_urlparameters.html.
--  
MK  

Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list