Last active
August 31, 2018 17:16
-
-
Save rclayton-the-terrible/5475365 to your computer and use it in GitHub Desktop.
Build and Install RabbitMQ Web Stomp with SSL (from @jshiell's repo).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure you have Mercurial and Git installed | |
git clone https://github.com/rabbitmq/rabbitmq-public-umbrella.git | |
cd rabbitmq-public-umbrella | |
make co | |
cd rabbitmq-web-stomp | |
git clone https://github.com/jshiell/rabbitmq-web-stomp.git | |
make | |
cd dist | |
# copy the rabbitmq_web_stomp-0.0.0.ez to rabbitmq-server/plugins directory | |
# and rename to your server version: | |
cp rabbitmq_web_stomp-0.0.0.ez \ | |
/usr/lib/rabbitmq/lib/rabbitmq_server-3.0.1/plugins/rabbitmq_web_stomp-3.0.1.ez |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{rabbit, [ {tcp_listeners, [5672] }, | |
{ssl_listeners, [5673] }, | |
{ssl_options, [ | |
{cacertfile, "/etc/rabbitmq/ssl/ca/cacert.pem" }, | |
{certfile, "/etc/rabbitmq/ssl/server/rabbit1.cert.pem" }, | |
{keyfile, "/etc/rabbitmq/ssl/server/rabbit1.key.pem" }, | |
{verify, verify_peer}, | |
{fail_if_no_peer_cert, false }]} | |
]}, | |
{rabbitmq_web_stomp, [ | |
{ssl_enabled, true}, | |
{https_port, 15678}, | |
{ssl_key_file, "/etc/rabbitmq/ssl/server/rabbit1.key.pem"}, | |
{ssl_key_password, "rabbit"}, | |
{ssl_ca_certificate_file, "/etc/rabbitmq/ssl/ca/cacert.pem"}, | |
{ssl_certificate_file, "/etc/rabbitmq/ssl/server/rabbit1.cert.pem"} | |
] }, | |
{kernel, [{inet_dist_listen_min, 9100}, {inet_dist_listen_max, 9105}]} | |
]. |
Working the same issue myself, I can't get a purchased cert to complete the handshake
Same here... How do we get a commercial cert to work in this case? :(
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I never got this comment. Did you figure it out?