Skip to content
Documentation
Updated 2 minutes to read
Markdown

How do I monitor RabbitMQ over SSL/TLS?

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.

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.

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)

Verify Management API accessible over HTTPS:

Terminal window
curl -u username:password https://rabbitmq-server:15671/api/overview

The Management plugin serves HTTP with {ssl, false} and HTTPS with {ssl, true}. Open the matching port as described in the firewall settings.

Prerequisites for RabbitMQ Monitoring Agent
Configuration Guide

RabbitMQ Agent Overview
Troubleshooting Overview

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...