[rabbitmq-discuss] How do we connect with AMQP without username password

Loganathan Sellapa loganathan.ms at gmail.com
Thu Apr 24 12:32:13 BST 2014

Hi All,

I am Loganathan, ROR developer. Currently I am using ruby-amqp gem for
RabbitMq communication. I have enabled the SSL and I am able to establish
the connection only with username & password with the certificates. But I
would like to connect to the RabbitMq without user credentials. Is their
any way to do it?  One of Java application is connecting to the RabbitMq
only with Keystore & trust keystore.


 *settings = {:host => "", :port => 5671, :vhost => "vchs",
:user => "vchsadmin", :pass => "changeme",:ssl => {:cert_chain_file =>
<http://client1.vchslabs.vmware.com/cert.pem>", :private_key_file =>

*AMQP.start(settings) do |connection|*

*puts "Connected, authenticated. TLS seems to work." connection.disconnect
{ puts "Now closing the connection..."; EventMachine.stop }*


  {rabbit, [
     {ssl_listeners, [5671]},
     {ssl_options, [{cacertfile,"/opt/ssl/cacert.pem"},
     {auth_mechanisms, ['PLAIN', 'AMQPLAIN', 'EXTERNAL']},
     {ssl_cert_login_from, common_name}

Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe <http://vizualize.me/loganathan>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140424/05b44d50/attachment.html>

More information about the rabbitmq-discuss mailing list