FAQ - SSL TLS Support
Section titled “FAQ - SSL TLS Support”Question
Section titled “Question”How do I monitor RabbitMQ over SSL/TLS?
Answer
Section titled “Answer”The agent supports HTTPS connections to RabbitMQ Management API. Configure Management Plugin for HTTPS (port 15671 by default), provide SSL certificate trust chain, and specify HTTPS URL in agent configuration.
Configuration Steps
Section titled “Configuration Steps”1. Enable HTTPS on RabbitMQ Management Plugin
Section titled “1. Enable HTTPS on RabbitMQ Management Plugin”Edit rabbitmq.config or advanced.config:
[ {rabbitmq_management, [ {listener, [ {port, 15671}, {ssl, true}, {ssl_opts, [ {cacertfile, "/path/to/ca_certificate.pem"}, {certfile, "/path/to/server_certificate.pem"}, {keyfile, "/path/to/server_key.pem"}, {verify, verify_peer}, {fail_if_no_peer_cert, false} ]} ]} ]}].Restart RabbitMQ service after configuration change.
2. Configure Agent to Use HTTPS
Section titled “2. Configure Agent to Use HTTPS”In the Nodinite agent configuration:
- Management API URL:
https://rabbitmq-server:15671 - SSL Certificate Validation: Enable/disable certificate validation based on environment (disable for self-signed certificates in dev/test)
- Certificate Trust Chain: Import RabbitMQ CA certificate into Windows Certificate Store (for Windows agents) or configure trust store path (for Linux agents)
3. Test HTTPS Connectivity
Section titled “3. Test HTTPS Connectivity”Verify Management API accessible over HTTPS:
curl -u username:password https://rabbitmq-server:15671/api/overviewDefault Ports
Section titled “Default Ports”The Management plugin serves HTTP with {ssl, false} and HTTPS with {ssl, true}. Open the matching port as described in the firewall settings.
Next Steps
Section titled “ Next Steps” Prerequisites for RabbitMQ Monitoring Agent
Configuration Guide