[rabbitmq-discuss] Rabbitmq, LDAP and SSL

Arpita Sati arpitasati22 at gmail.com
Thu Mar 8 21:59:24 GMT 2012


I am using SSL with no certificates,
rabbitmq.config file looks like -

[{rabbit, [
           {ssl_listeners, [5671]},
           {ssl_options, [{fail_if_no_peer_cert, false},
                          { verify, verify_none}
                         ]},
           {default_vhost, <<"/">>}
          ]}
].

Client code :
ConnectionFactory factory = new ConnectionFactory();
factory.setHost("localhost");
factory.setUsername("username");
 factory.setPassword("pswd");
factory.setPort(5671);
factory.useSslProtocol("TLS");
 connection = factory.newConnection();
channel = connection.createChannel();

on running client, I get following in log file -

=INFO REPORT==== 8-Mar-2012::14:55:00 ===
starting TCP connection <0.221.0> from <<XXXXXXXX>>

=ERROR REPORT==== 8-Mar-2012::14:55:00 ===
SSL: hello: ssl_handshake.erl:249:Fatal error: internal error

=ERROR REPORT==== 8-Mar-2012::14:55:00 ===
error on TCP connection <0.221.0>:{ssl_upgrade_error,"internal error"}

=INFO REPORT==== 8-Mar-2012::14:55:00 ===
closing TCP connection <0.221.0>

Thanks


On Thu, Mar 8, 2012 at 4:07 AM, Simon MacMullen <simon at rabbitmq.com> wrote:

> On 07/03/12 22:20, Arpita Sati wrote:
>
>> is "rabbitmq-auth-backend-ldap cannot use SSL " resolved in release 2.7.1?
>>
>
> Um, when was this broken? How is it not working for you?
>
> Cheers, Simon
> --
> Simon MacMullen
> RabbitMQ, VMware
>



-- 
*"To grow each day, is a wish not asked by all.*
*To love each day, is a privilege not taken by all."*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120308/459d4165/attachment.htm>


More information about the rabbitmq-discuss mailing list