<div dir="ltr"><font face="arial, sans-serif" size="2"><br></font><div><font face="arial, sans-serif" size="2">Hi all,</font></div><div><font face="arial, sans-serif" size="2"><br></font></div><div><font face="arial, sans-serif" size="2"> Up to recently we've been using RabbitMQ 3.2.3/Erlang R15B01 with the web_Stomp plugin over SSL. Since this was not supported, we had to rebuilt the web_stomp plugin using a patched branch as described at https://gist.github.com/berico-rclayton/5475365 (also see https://github.com/rabbitmq/rabbitmq-web-stomp/pull/3). This has been working fine for months.</font></div><div><font face="arial, sans-serif" size="2"><br></font></div><div><font face="arial, sans-serif" size="2"> We recently realized that the fix for SSL support in web_stomp was systemized in RabbitMQ 3.3.0/Erlang R16B03. So we installed it and updated our configuration. However, using the exact same setup and self-signed keys/certificates, we cannot get the new version to work properly while using SSL over stomp. Connecting to https://<rabbit server IP>:15678/stomp just fails, although from the log web_stomp seems to be listening correctly on port 15678. We tried to regenerate a new set of keys, but it did not do anything.</font></div><div><font face="arial, sans-serif" size="2"><br></font></div><div><font face="arial, sans-serif" size="2">Our old rabbitMQ config (patched 3.2.3 web_stomp) was:</font></div><div><font face="arial, sans-serif" size="2"><br></font></div><div><p class="MsoNormal"><font face="arial, sans-serif" size="2"> {rabbitmq_web_stomp, [<o:p></o:p></font></p>
<p class="MsoNormal"><font face="arial, sans-serif" size="2">
{ssl_enabled, true},<o:p></o:p></font></p>
<p class="MsoNormal"><font face="arial, sans-serif" size="2">
{https_port, 15678},<o:p></o:p></font></p>
<p class="MsoNormal"><font face="arial, sans-serif" size="2">
{ssl_key_file, "/usr/local/ssl/private/server.key"},<o:p></o:p></font></p>
<p class="MsoNormal"><font face="arial, sans-serif" size="2">
{ssl_key_password, "password"},<o:p></o:p></font></p>
<p class="MsoNormal"><font face="arial, sans-serif" size="2">
{ssl_ca_certificate_file, "/usr/local/ssl/crt/public.crt"},<o:p></o:p></font></p>
<p class="MsoNormal"><font face="arial, sans-serif" size="2">
{ssl_certificate_file, "/usr/local/ssl/crt/public.crt"}<o:p></o:p></font></p>
<p class="MsoNormal"><font face="arial, sans-serif" size="2"> ] },<o:p></o:p></font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2"><br></font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2">And the corresponding new config on RabbitMQ 3.3.0 is</font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2"> {rabbitmq_web_stomp,<o:p></o:p></font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2"> [{ssl_config,
[{port, 15678},<o:p></o:p></font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2">
{backlog, 1024},<o:p></o:p></font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2">
{certfile, "/usr/local/ssl/crt/public.crt"},<o:p></o:p></font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2">
{keyfile, "/usr/local/ssl/private/server.key"},<o:p></o:p></font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2">
{cacertfile, "/usr/local/ssl/crt/public.crt"},<o:p></o:p></font></p><p class="MsoNormal"><span style="color: rgb(51, 51, 51); white-space: pre; background-color: rgb(238, 238, 238);"><font face="arial, sans-serif" size="2"> {password, "password"}</font></span><font face="arial, sans-serif" size="2"><br></font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2"> ]}<o:p></o:p></font></p><p class="MsoNormal">
</p><p class="MsoNormal"><font face="arial, sans-serif" size="2"> ]},</font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2">Is our config ok? does anybody experienced similar problems or have any idea what we could be doing wrong?</font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2"><br></font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2">Thanks in advance,</font></p><p class="MsoNormal"><font face="arial, sans-serif" size="2">/Sebas</font></p></div></div>