Juju Charm - RabbitMQ
Go to file
Adam Gandelman ae9cb9e2e4 Only run peer-hooks for rabbit native clustering if no hacluster relation exists. 2013-03-06 15:15:03 -08:00
hooks Only run peer-hooks for rabbit native clustering if no hacluster relation exists. 2013-03-06 15:15:03 -08:00
README Added SSL support 2012-09-04 15:27:11 +01:00
config.yaml Pull correct values from config. 2013-03-01 12:05:21 -08:00
copyright Add license 2011-07-18 17:36:10 -07:00
metadata.yaml Initial ceph support. 2013-02-27 18:07:08 -08:00
revision Only run peer-hooks for rabbit native clustering if no hacluster relation exists. 2013-03-06 15:15:03 -08:00

README

Configuring SSL
---------------
Generate an unencrypted RSA private key for the servers and a certificate:

  openssl genrsa -out rabbit-server-privkey.pem 2048

Get an X.509 certificate. This can be self-signed, for example:

  openssl req -batch -new -x509 -key rabbit-server-privkey.pem -out rabbit-server-cert.pem -days 10000

Deploy the service:

  juju deploy rabbitmq-server rabbit

Enable SSL, passing in the key and certificate as configuration settings:

  juju set rabbit ssl_enabled=True ssl_key="`cat rabbit-server-privkey.pem`" ssl_cert="`cat rabbit-server-cert.pem`"