<div dir="ltr"><div><div><div>So if TCP is disabled via the section you referenced in rabbitmq.config, then what goes in the environment variable RABBITMQ_NODE_PORT? Is that value simply ignored if TCP is disabled (so you can set the environment variable to anything, or just leave it unset)? Do you set it to the SSL port? Something else?<br>
<br></div>And if you have a set of N nodes in a cluster on a single machine, do you still need to have a different value of RABBITMQ_NODE_PORT for each instance? (Do you just make it match the SSL port each node is using?)<br>
<br></div>Thanks,<br></div>Tim<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 27, 2013 at 5:31 AM, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can't disable the TCP listener via environment variables and hence rabbitmq-env.conf. But you can via the main configuration file - see tcp_listeners under <a href="http://www.rabbitmq.com/configure.html#config-items" target="_blank">http://www.rabbitmq.com/<u></u>configure.html#config-items</a> - just set it to [].<br>
<br>
Cheers, Simon<br>
<br>
On 26/06/13 17:50, <a href="mailto:tbain98@gmail.com" target="_blank">tbain98@gmail.com</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm new to RabbitMQ, and am a bit confused by some of the documentation<br>
surrounding TCP vs. SSL configuration.<br>
<br>
I'm trying to set up a broker for which only authenticated SSL-based<br>
connections will be allowed, so I do not want the TCP listener running.<br>
That seems easy to do for rabbitmq-env.conf, but the documentation<br>
<<a href="http://www.rabbitmq.com/configure.html" target="_blank">http://www.rabbitmq.com/<u></u>configure.html</a>> seems to indicate that<br>
RABBITMQ_NODE_PORT is a required property (or at least, it seems to be<br>
required if you're setting up clustering on a single machine<br>
<<a href="http://www.rabbitmq.com/clustering.html#single-machine" target="_blank">http://www.rabbitmq.com/<u></u>clustering.html#single-machine</a><u></u>>, which I'm not<br>
doing yet but want the option to do in the future) and that if it's not<br>
provided, a default will be used.<br>
<br>
Is it possible to configure an SSL-only broker (just one node on a<br>
single machine), and if so, what if anything do you set<br>
RABBITMQ_NODE_PORT to? (Just "RABBITMQ_NODE_PORT=" ?) And (separate<br>
question) is it possible to configure a single-machine cluster with<br>
multiple nodes, where each node is SSL-only, and again, what do you set<br>
RABBITMQ_NODE_PORT to for each node?<br>
<br>
Thanks for the help...<br>
Tim<br>
<br>
<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br>
</font></span></blockquote></div><br></div>