Juju Charm - RabbitMQ
Go to file
2013-11-21 14:42:56 -08:00
hooks Use /usr/local/lib/nagios/plugins for non-packaged checks 2013-11-21 14:42:56 -08:00
lib Use /usr/local/lib/nagios/plugins for non-packaged checks 2013-11-21 14:42:56 -08:00
scripts Use /usr/local/lib/nagios/plugins for non-packaged checks 2013-11-21 14:42:56 -08:00
templates Add missing hook and template 2013-05-21 06:59:02 +01:00
.project Added pydev project 2013-03-18 11:06:15 +00:00
.pydevproject Added pydev project 2013-03-18 11:06:15 +00:00
config.yaml Rebase against lp:charms/rabbitmq-server 2013-05-20 14:19:13 +01:00
copyright Add license 2011-07-18 17:36:10 -07:00
icon.svg Added icon.svg 2013-04-25 14:23:14 -04:00
metadata.yaml Enable nrpe-external-master-relation. Use charmhelpers (embedded for now) 2013-11-15 11:15:16 -08:00
README Added SSL support 2012-09-04 15:27:11 +01:00
revision Enable nrpe-external-master-relation. Use charmhelpers (embedded for now) 2013-11-15 11:15:16 -08:00

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`"