Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
zRabbitMq.rabbitmq.config
%% -*- mode: erlang -*-
%% ----------------------------------------------------------------------------
%% See http://www.rabbitmq.com/configure.html for details.
%% ----------------------------------------------------------------------------
[
{rabbit,
[%%
%% Network Connectivity
%% ====================
%%
%% By default, RabbitMQ will listen on all interfaces, using
%% the standard (reserved) AMQP port.
%%
%% {tcp_listeners, [5672]},
%% To listen on a specific interface, provide a tuple of {IpAddress, Port}.
%% For example, to listen only on localhost for both IPv4 and IPv6:
%%
%% {tcp_listeners, [{"127.0.0.1", 5672},
%% {"::1", 5672}]},
%% SSL listeners are configured in the same fashion as TCP listeners,
%% including the option to control the choice of interface.
%%
{ssl_listeners, [5671]},
%% Configuring SSL.
%% See http://www.rabbitmq.com/ssl.html for full documentation.
%%
{ssl_options, [{cacertfile,"C:/RabbitMQ/ssl/public.pem"},
{certfile,"C:/RabbitMQ/ssl/server.pem"},
{keyfile,"C:/RabbitMQ/ssl/rsa.server.key"},
{verify,verify_none},
{depth, 2},
{fail_if_no_peer_cert,false},
{versions, ['tlsv1.2', 'tlsv1.1']}
]}
]},
{kernel,
[
]},
%% ----------------------------------------------------------------------------
%% RabbitMQ Management Plugin
%%
%% See http://www.rabbitmq.com/management.html for details
%% ----------------------------------------------------------------------------
{rabbitmq_management,
[
%% Change the port on which the HTTP listener listens,
%% specifying an interface for the web server to bind to.
%% Also set the listener to use SSL and provide SSL options.
%%
{listener, [{port, 15671},
{ssl, true},
{ssl_opts, [ {cacertfile,"C:/RabbitMQ/ssl/public.pem"},
{certfile,"C:/RabbitMQ/ssl/server.pem"},
{keyfile,"C:/RabbitMQ/ssl/rsa.server.key"}
]}
]}
]},
{rabbitmq_shovel,
[{shovels,
[
]}
]},
{rabbitmq_stomp,
[
]},
{rabbitmq_mqtt,
[
]},
{rabbitmq_amqp1_0,
[
]},
{rabbitmq_auth_backend_ldap,
[
]}
].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment