Juju Charm - RabbitMQ
Go to file
Thomas Leonard 980c9e61e3 Use a randomly-generated temporary file name
Not actually necessary in this case, but considered good style. Suggested by Clint Byrum.
2012-09-06 14:20:01 +01:00
hooks Use a randomly-generated temporary file name 2012-09-06 14:20:01 +01:00
README Added SSL support 2012-09-04 15:27:11 +01:00
config.yaml Added SSL support 2012-09-04 15:27:11 +01: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 Use a randomly-generated temporary file name 2012-09-06 14:20:01 +01: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`"