Requiring Encryption in Apache Qpid
I configured requiring encryption in Apache Qpid (C++ broker) by adding the following line to /etc/qpid/qpidd.conf file and restarting the broker
require-encryption=yes
Later when I used qpid-stat
I got an error message
$ qpid-stat -q -b user@password/localhost:5672 Failed: AuthenticationFailure - Error in sasl_client_start (-4) SASL(-4): no mechanism available
After following a mailing list post to a JIRA to a
Review Board entry I found that when
broker requires a secure TLS connection then the connection string must use
amqps
protocol instead of amqp
like so
$ qpid-stat -q -b amqps://user@password/localhost:5672
I was using version 0.34 of both broker and client.