Got this log Description: "Server authenticity is not verified since certificate path validation is not enabled" & Reason: "The option {verify, verify_peer} and one of the options 'cacertfile' or 'cacerts' are required to enable this." After adding the config below to the rabbitmq.conf
listeners.ssl.1 = 5671
listeners.tcp = none
ssl_options.cacertfile = /etc/ssl/certs/ca-bundle.crt
ssl_options.certfile = /etc/rabbitmq/ssl/iap.pem
ssl_options.keyfile = /etc/rabbitmq/ssl/key.pem
ssl_options.password = pronghorn
management.ssl.port = 15671
management.ssl.cacertfile = /etc/ssl/certs/ca-bundle.crt
management.ssl.certfile = /etc/rabbitmq/ssl/iap.pem
management.ssl.keyfile = /etc/rabbitmq/ssl/key.pem
management.ssl.password = pronghorn
Then added these parameters after following the instruction from RabbitMQ doc
ssl_options.verify = verify_peer
ssl_options.fail_if_no_peer_cert = true
ssl_options.depth = 2
After adding, I received the error below. When I take out the three parameters above, the connection between client rabbitmq works fine.