]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/files/pubsub/rabbitmq-mgmt.config
try ssl for management
[dsa-puppet.git] / modules / roles / files / pubsub / rabbitmq-mgmt.config
diff --git a/modules/roles/files/pubsub/rabbitmq-mgmt.config b/modules/roles/files/pubsub/rabbitmq-mgmt.config
new file mode 100644 (file)
index 0000000..4710fb5
--- /dev/null
@@ -0,0 +1,12 @@
+,{rabbitmq_management,
+       [{listener, [
+               {port,     15672},
+               {ssl,      true},
+               {ssl_options, [
+                       {cacertfile,"/etc/ssl/debian/certs/ca.crt"},
+                       {certfile,"/etc/ssl/debian/certs/thishost-server.crt"},
+                       {keyfile,"/etc/ssl/debian/keys/thishost-server.key"},
+                       {verify,verify_none},
+                       {fail_if_no_peer_cert,false}]}
+       ]}
+]}