Juju Charm - RabbitMQ
Go to file
Adam Gandelman eb70369283 RabbitMQ 3.0 syntax fixes, clustering fixes. 2013-01-16 10:27:55 -08:00
hooks RabbitMQ 3.0 syntax fixes, clustering fixes. 2013-01-16 10:27:55 -08:00
README Added SSL support 2012-09-04 15:27:11 +01:00
config.yaml Added management_plugin configuration setting to enable the management web interface 2012-11-21 15:30:39 +00:00
copyright Add license 2011-07-18 17:36:10 -07:00
metadata.yaml Add myself as maintainer. 2012-05-29 16:08:45 -07:00
revision RabbitMQ 3.0 syntax fixes, clustering fixes. 2013-01-16 10:27:55 -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`"