<font size=2 face="sans-serif">I tried the instruction page you suggested
but it's still not clear to me.</font>
<br>
<br><font size=1 face="Arial">I just want to do the SSL connection and
trust the server certificate without having to do any additional certificate
installation on the clients side. Is that possible?</font>
<br>
<br><font size=2 face="sans-serif">We have the server running SSL and some
java clients connecting using SSL just by setting the useSslProtocol()
in the Java client.</font>
<br>
<br><font size=2 face="sans-serif">Thereby I can see the server is installed
correctly and accepting Java SSL clients to connect.</font>
<br>
<br><font size=2 face="sans-serif">On the instruction page it states that:</font>
<br><font size=2 face="sans-serif">"</font><font size=2 face="Arial"><b><i>In
contrast to the Java client, which is happy to use an SSL connection without
verifying the server's certificate, the .NET client by default requires
this verification to succeed. To suppress verification, an application
can set the System.Net.Security.SslPolicyErrors.RemoteCertificateNotAvailable
and System.Net.Security.SslPolicyErrors.RemoteCertificateChainErrors flags
in SslOption.AcceptablePolicyErrors</i></b></font><font size=3> </font><font size=2 face="sans-serif">"</font>
<br>
<br><font size=2 face="sans-serif">But when I do like this</font>
<br><font size=2 face="Arial"><b>ConnectionFactory cf = new ConnectionFactory();</b></font>
<br><font size=2 face="Arial"><b>cf.Ssl.Enabled = true;</b></font>
<br><font size=2 face="Arial"><b>cf.Ssl.AcceptablePolicyErrors = System.Net.Security.SslPolicyErrors.RemoteCertificateNotAvailable
| System.Net.Security.SslPolicyErrors.RemoteCertificateNameMismatch;</b></font>
<br>
<br><font size=2 face="Arial">I'm still not able to connect!</font>
<br>
<br>
<br><font size=2 face="sans-serif">Br,<br>
Michael Thorsoe</font>
<br><font size=2 face="sans-serif">Br,<br>
Michael Thorsoe</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Emile Joubert <emile@rabbitmq.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Discussions about RabbitMQ
<rabbitmq-discuss@lists.rabbitmq.com>, </font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc:
</font><font size=1 face="sans-serif">Michael Thorsoe/DK/Schneider@Europe</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">04-11-2013 13:38</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [rabbitmq-discuss]
C# client connect using SSL</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2><br>
Hi Michael,<br>
<br>
On 04/11/13 11:57, michael.thorsoe@schneider-electric.com wrote:<br>
<br>
> Is it possible to connect to a server by just setting the Ssl.Enabled
=<br>
> trueand not have to install any certificates on the windows client?<br>
<br>
<br>
I believe you have to follow all the instructions here:<br>
</font></tt><a href="http://www.rabbitmq.com/ssl.html#configuring-dotnet"><tt><font size=2>http://www.rabbitmq.com/ssl.html#configuring-dotnet</font></tt></a><tt><font size=2><br>
<br>
<br>
<br>
<br>
-Emile<br>
<br>
<br>
<br>
<br>
______________________________________________________________________<br>
This email has been scanned by the Symantec Email Security.cloud service.<br>
______________________________________________________________________<br>
</font></tt>
<br>