[rabbitmq-discuss] Unable to establish MQTT plugin in rabbitmq version : 3.1.3.

Michael Klishin mklishin at gopivotal.com
Mon Jun 30 09:53:01 BST 2014


On 30 June 2014 at 11:42:03, Ankur5 C (ankur5.c at tcs.com) wrote:
> > Just wanted to know of any update on using PAHO for RabbitMQ MQTT  
> over SSL ?

It works just like Paho Python and Ruby clients.

Here's my basic example:
https://gist.github.com/michaelklishin/5d8c9279c0c11352a2c8

I generated a CA, client and server key/certificate using https://github.com/ruby-amqp/tls-gen
and PASSWORD=bunnies, imported them into a Java key store with

keytool -importcert -alias rmq-server -file /path/to/result/server_certificate.pem -keystore /path/to/result/jvm_keystore

rabbitmq.config (/path/to/result above for me is "/Users/antares/Tools/rabbitmq/tls")

https://gist.github.com/michaelklishin/4b4785884dcf279039a8

and voilà: 

=INFO REPORT==== 30-Jun-2014::12:46:44 ===
accepting MQTT connection (127.0.0.1:60338 -> 127.0.0.1:8883)
--  
MK  

Staff Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list