<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi Team,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am having issues when I have <b>fail_if_no_peer_cert</b> set to <b>“true”</b> in the rabbitmq.config of the broker , I have the JAVA sample code and it always gives the below error ( It works fine when I have <b>fail_if_no_peer_cert</b> set to “<b>false</b>” )<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><u>Broker Error :<o:p></o:p></u></b></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>=INFO REPORT==== 22-Jul-2014::13:17:37 ===<o:p></o:p></p><p class=MsoNormal>accepting AMQP connection <0.318.0> (10.221.139.177:63560 -> 10.238.104.147:27575)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>=ERROR REPORT==== 22-Jul-2014::13:17:38 ===<o:p></o:p></p><p class=MsoNormal>SSL: certify: tls_connection.erl:509:Fatal error: handshake failure<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>=ERROR REPORT==== 22-Jul-2014::13:17:43 ===<o:p></o:p></p><p class=MsoNormal>error on AMQP connection <0.318.0>: {ssl_upgrade_error,{tls_alert,[104,97,110,100,115,104,97,107,101,32,102,97,105,108,117,114,101]}<o:p></o:p></p><p class=MsoNormal>}...<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><u>Java Exception :<o:p></o:p></u></b></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>Exception in thread "main" </span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>javax.net.ssl.SSLHandshakeException</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>: Received fatal alert: handshake_failure</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>Alerts.java:174</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>Alerts.java:136</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>SSLSocketImpl.java:1657</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>SSLSocketImpl.java:932</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>SSLSocketImpl.java:1096</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>SSLSocketImpl.java:623</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.sun.net.ssl.internal.ssl.AppOutputStream.write(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>AppOutputStream.java:59</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at java.io.BufferedOutputStream.flushBuffer(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>BufferedOutputStream.java:65</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at java.io.BufferedOutputStream.flush(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>BufferedOutputStream.java:123</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at java.io.DataOutputStream.flush(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>DataOutputStream.java:106</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.rabbitmq.client.impl.SocketFrameHandler.sendHeader(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>SocketFrameHandler.java:129</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.rabbitmq.client.impl.SocketFrameHandler.sendHeader(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>SocketFrameHandler.java:134</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.rabbitmq.client.impl.AMQConnection.start(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>AMQConnection.java:276</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.rabbitmq.client.ConnectionFactory.newConnection(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>ConnectionFactory.java:590</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at com.rabbitmq.client.ConnectionFactory.newConnection(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>ConnectionFactory.java:612</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:red'>       at SSL_Listener.main(</span><u><span style='font-size:10.0pt;font-family:Consolas;color:navy'>SSL_Listener.java:55</span></u><span style='font-size:10.0pt;font-family:Consolas;color:red'>)</span><span style='font-size:10.0pt;font-family:Consolas'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#333333'>The Goldman Sachs Group, Inc. All rights reserved</span></b><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#333333'>.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>See </span><span lang=EN-GB style='color:#1F497D'><a href="http://www.gs.com/disclaimer/global_email"><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#316E59'>http://www.gs.com/disclaimer/global_email</span></a></span><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> for important risk disclosures, conflicts of interest and other terms and conditions relating to this e-mail and your reliance on information contained in it.  This message may contain confidential or privileged information.  If you are not the intended recipient, please advise us immediately and delete this message.  See </span><span lang=EN-GB style='color:#1F497D'><a href="http://www.gs.com/disclaimer/email"><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#316E59'>http://www.gs.com/disclaimer/email</span></a></span><span lang=EN-GB style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> for further information on confidentiality and the risks of non-secure electronic communication.  If you cannot access these links, please notify us by reply message and we will send the contents to you. </span><span lang=EN-GB style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>