<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div id="yiv6532044045"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10"><span id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_16">Hi Michael,</span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_19">So far I  was working with SelectConnection using pika and it is good.</span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10"
 style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_23">Today I tried to get a publisher working with
 BlockingConnection with SSL. Normal connection works however failing with SSL. The same setup works with SelectConnection. Any idea ?</span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_31"><br id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_33"></span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_26">My publisher code is as follows:</span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color:rgb(0, 0,
 0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
 Grande', sans-serif;background-color:transparent;font-style:normal;"><span id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_79"><br id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_85"></span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;"> parameters = ConnectionParameters(HOST, PORT,</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">                                              ssl=True,</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">                                              ssl_options=ssl_options)</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10"
 style="background-color:transparent;"><span id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_88"></span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">connection = pika.BlockingConnection(parameters)</div><div id="yiv6532044045yui_3_13_0_ym1_1_1390819616567_4439"><br></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_91"><br id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_99"></span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span
 id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_96"><br id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_104"></span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_101"><br></span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_82">I am getting the following error:<br id="yiv6532044045yui_3_13_0_ym1_1_1390819616567_4433"></span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px;
 font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_34">------------------------------------------</span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;"><span style="background-color:transparent;font-size:12pt;" id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_76">DEBUG      2014-01-27 16:25:27,901 pika.callback                  add                                  161 : Added: {'callback': <bound method BlockingConnection._on_connection_error of <pika.adapters.blocking_connection.BlockingConnection object at 0x2d6be90>>, 'only': None, 'one_shot': False, 'arguments': None}</span><br></div><div
 id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,901 pika.callback                  add                        
          161 : Added: {'callback': <bound method BlockingConnection._on_connection_start of <pika.adapters.blocking_connection.BlockingConnection object at 0x2d6be90>>, 'only': None, 'one_shot': True, 'arguments': None, 'calls': 1}</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">INFO       2014-01-27 16:25:27,901 pika.adapters.base_connection  _create_and_connect_to_socket        164 : Connecting to 172.16.47.133:5671 with SSL</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,925 pika.callback                  process                              217 : Processing 0:Connection.Start</div><div
 id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,925 pika.callback                  _use_one_shot_callback               390 : Processing use of oneshot callback</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,925 pika.callback                  _use_one_shot_callback               392 : 0 registered uses left</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,925 pika.callback                  remove                      
         260 : Removing callback #0: {'callback':
 <bound method BlockingConnection._on_connection_start of <pika.adapters.blocking_connection.BlockingConnection object at 0x2d6be90>>, 'only': None, 'one_shot': True, 'arguments': None, 'calls': 0}</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,926 pika.callback                  process                              231 : Calling <bound method BlockingConnection._on_connection_start of <pika.adapters.blocking_connection.BlockingConnection object at 0x2d6be90>> for "0:Connection.Start"</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,926 pika.callback                  add  
      
                          161 : Added: {'callback': <bound method BlockingConnection._on_connection_tune of <pika.adapters.blocking_connection.BlockingConnection object at 0x2d6be90>>, 'only': None, 'one_shot': True, 'arguments': None, 'calls': 1}</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,926 pika.callback                  process                              217 : Processing 0:Connection.Tune</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,926 pika.callback                  _use_one_shot_callback      
      
   390 : Processing use of oneshot callback</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,926 pika.callback                  _use_one_shot_callback               392 : 0 registered uses left</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,926 pika.callback                  remove                               260 : Removing callback #0: {'callback': <bound method BlockingConnection._on_connection_tune of <pika.adapters.blocking_connection.BlockingConnection object at 0x2d6be90>>, 'only': None, 'one_shot': True, 'arguments': None, 'calls':
 0}</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,926 pika.callback                  process                              231 : Calling <bound method BlockingConnection._on_connection_tune of <pika.adapters.blocking_connection.BlockingConnection object at 0x2d6be90>> for "0:Connection.Tune"</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,926 pika.connection                _create_heartbeat_checker            946 : Creating a HeartbeatChecker: 600</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG  
    2014-01-27 16:25:27,926 pika.callback
                  add                                  161 : Added: {'callback': <bound method BlockingConnection._on_connection_open of <pika.adapters.blocking_connection.BlockingConnection object at 0x2d6be90>>, 'only': None, 'one_shot': True, 'arguments': None, 'calls': 1}</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,927 pika.callback                  process                              217 : Processing 0:Connection.OpenOk</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,927 pika.callback  
        
        _use_one_shot_callback               390 : Processing use of oneshot callback</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,927 pika.callback                  _use_one_shot_callback               392 : 0 registered uses left</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,927 pika.callback                  remove                               260 : Removing callback #0: {'callback': <bound method BlockingConnection._on_connection_open of <pika.adapters.blocking_connection.BlockingConnection
 object at 0x2d6be90>>,
 'only': None, 'one_shot': True, 'arguments': None, 'calls': 0}</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,927 pika.callback                  process                              231 : Calling <bound method BlockingConnection._on_connection_open of <pika.adapters.blocking_connection.BlockingConnection object at 0x2d6be90>> for "0:Connection.OpenOk"</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">DEBUG      2014-01-27 16:25:27,927 pika.callback                  add                                  161 : Added: {'callback':
 <bound method
 BlockingConnection._on_connection_closed of <pika.adapters.blocking_connection.BlockingConnection object at 0x2d6be90>>, 'only': None, 'one_shot': True, 'arguments': None, 'calls': 1}</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_70"><br></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;" id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_54">--------------------------------------- </span><br id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_59"></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style:
 normal;"><span style="background-color:transparent;" id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_56"><br id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_64"></span></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Serverside log shows:</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_110"></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">=INFO REPORT==== 27-Jan-2014::05:55:47 ===</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10"
 style="background-color:transparent;">accepting AMQP connection <0.6427.1> (172.16.47.1:56458 -> 172.16.47.133:5671)</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;"><br></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">=WARNING REPORT==== 27-Jan-2014::05:55:47 ===</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">closing AMQP connection <0.6427.1> (172.16.47.1:56458 -> 172.16.47.133:5671):</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;">connection_closed_abruptly</div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="background-color:transparent;"><br></div><div id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_10" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial,
 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;" id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_67"><br></span></div><div class="yiv6532044045yahoo_quoted" id="yiv6532044045yui_3_13_0_ym1_6_1390819616567_12" style="display: block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;" class="yiv6532044045yui_3_13_0_ym1_1_1390819616567_3149"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;" class="yiv6532044045yui_3_13_0_ym1_1_1390819616567_3150"> <div dir="ltr"> <font size="2" face="Arial"> On Wednesday, January 22, 2014 8:07 PM, Kausik Chattopadhyay <connect_kausik@yahoo.com> wrote:<br> </font> </div>  <div class="yiv6532044045y_msg_container"><div id="yiv6532044045"><div><div style="color: rgb(0, 0, 0);
 background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;" class="yiv6532044045yui_3_13_0_ym1_1_1390819616567_3152"><div><span>Hi Michael,</span></div><div><span>Thanks.</span></div><div style="background-color:transparent;"><span> Actually the certificates
 were owned by root. </span></div><div style="background-color:transparent;"><span>I tried the followings:</span></div><div style="background-color:transparent;"><span>1. Adding user rabbitmq to group root  --- didnt work</span></div><div style="background-color:transparent;"><span>2. Changing the ownership of all the certficates to rabbitmq:rabbitmq --- didnt work</span></div><div style="background-color:transparent;"><span><br clear="none"></span></div><div style="background-color:transparent;"><span></span></div><div style="background-color:transparent;"><span>Finally I tried this. Created a "rabbitmq" sudoer. Installing rabbitmq server.
 Generating the certificates as a "rabbitmq" user --> this worked</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;" class="yiv6532044045yui_3_13_0_ym1_1_1390819616567_3160"><span><br clear="none"></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;" class="yiv6532044045yui_3_13_0_ym1_1_1390819616567_3161"><span>Thanks</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;" class="yiv6532044045yui_3_13_0_ym1_1_1390819616567_3162"><span>Kausik</span></div><div class="yiv6532044045yahoo_quoted"
 style="display:block;"> <br clear="none"> <br clear="none"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;" class="yiv6532044045yui_3_13_0_ym1_1_1390819616567_3164"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;" class="yiv6532044045yui_3_13_0_ym1_1_1390819616567_3165"> <div class="yiv6532044045yqt1369367669" id="yiv6532044045yqtfd64479"><div dir="ltr"> <font size="2" face="Arial"> On Wednesday, January 22, 2014 4:54 PM, Michael Klishin <mklishin@gopivotal.com> wrote:<br clear="none"> </font> </div>  <div class="yiv6532044045y_msg_container"><br clear="none">On 22 Jan 2014, at 14:59, Kausik Chattopadhyay <<a rel="nofollow" shape="rect" ymailto="mailto:connect_kausik@yahoo.com" target="_blank" href="mailto:connect_kausik@yahoo.com">connect_kausik@yahoo.com</a>> wrote:<br clear="none"><br
 clear="none">> Interestingly, this is the log from <a rel="nofollow" shape="rect" ymailto="mailto:rabbit@master1-sasl.log" target="_blank" href="mailto:rabbit@master1-sasl.log">rabbit@master1-sasl.log</a><br clear="none"><br clear="none">There is nothing new in the SASL log.<br clear="none"><br clear="none">ecacertfile indicates there was an issue with the CA certificate, which cannot<br clear="none">be loaded due to eaccess (according to the other log file).<div class="yiv6532044045yqt8387152569" id="yiv6532044045yqtfd60502"><br clear="none">--<br clear="none">MK<br clear="none"><br clear="none">Software Engineer, Pivotal/RabbitMQ<br clear="none"></div><br clear="none"><br clear="none"></div>  </div></div><div class="yiv6532044045yqt1369367669" id="yiv6532044045yqtfd60670"> </div></div><div class="yiv6532044045yqt1369367669" id="yiv6532044045yqtfd73240">  </div></div><div class="yiv6532044045yqt1369367669" id="yiv6532044045yqtfd72982">
 </div></div></div></div><br><br></div>  </div> </div>  </div> </div></div></div></div></body></html>