[ {rabbit, [ {ssl_listeners, [5671]}, {ssl_options, [{cacertfile,"D:/RabbitMQ/certs/MyCA.pem"}, {certfile,"D:/RabbitMQ/certs/MyRabbitServer.pem"}, {keyfile,"D:/RabbitMQ/certs/MyRabbitServer.key"},
{verify,verify_none}, {fail_if_no_peer_cert,false}]} ]} ].
sudo rabbitmqctl add_user ssltest password
sudo rabbitmqctl set_permissions ssltest ".*" ".*" ".*"
Once you have a RabbitMQ broker listening on an SSL port you can again use the OpenSSL s_client to verify SSL connection establishment, this time against the broker. This check establishes whether the broker is likely to be configured correctly, without needing to configure an AMQPS client. The example assumes a broker with an "ssl_listeners" configuration directive set to listen for SSL connections on localhost port 5671:
openssl s_client -connect localhost:5671 -cert client/cert.pem -key client/key.pem \ -CAfile testca/cacert.pem
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
--
MKStaff Software Engineer, Pivotal/RabbitMQ
--
MKStaff Software Engineer, Pivotal/RabbitMQ
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
Unfortunately..It doesn't work on my settings, I'll send you all the configuration of the Broker.
The Macbook-Pro account has the same name of the common name inside the client Certificate, and I used the same RootCA to sign both the Client and the Server Certificate.
This is my current config setup.
I guess is something with the port, because If I try to check che logger in var/log/rabbitmq, when he doesn't show any connection refusal on the mqtt/ssl ports.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
RabbitMQ won't log refused TCP connections. It will, however, log* Any inbound TCP connection on a client listener port that sends at least some data* What ports it binds to (what listeners it starts, in RabbitMQ parlance) on boot* Any AMQP 0-9-1, AMQP 1.0, MQTT or STOMP connections that fail e.g. due to failed authentication or authorization (vhost access)* Any TLS alert (e.g. peer verification issue) during TLS upgradeWireshark is the best way to track down refused TCP connections.Don't forget that configuration changes require a node restart.
On Thu, Jul 13, 2017 at 9:37 PM, Domenico Amelino <domenico...@gmail.com> wrote:
--
Unfortunately..It doesn't work on my settings, I'll send you all the configuration of the Broker.
I tried to use a client mqtt which supports the tls/ssl client authentication and it doesn't work, the connections on 8883 ports fail. Otherwise, despite the settings on other port, for example 1883, client success to connect using credentials.
The Macbook-Pro account has the same name of the common name inside the client Certificate, and I used the same RootCA to sign both the Client and the Server Certificate.
This is my current config setup.
I guess is something with the port, because If I try to check che logger in var/log/rabbitmq, when he doesn't show any connection refusal on the mqtt/ssl ports.
There are maybe other log file that I can check to get more informations?I really hope you know what I'm doing wrong with the Broker Settings, this mutual mqtt authentication it's tricky to reach.Kind Regards, Domenico.
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.