---
title: FAQ - SSL TLS Support
description: Learn how to configure the Nodinite RabbitMQ Monitoring Agent to connect to RabbitMQ Management API over SSL/TLS HTTPS.
---

# FAQ - SSL TLS Support

## Question

How do I monitor RabbitMQ over SSL/TLS?

## 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

### 1. Enable HTTPS on RabbitMQ Management Plugin

Edit `rabbitmq.config` or `advanced.config`:

```erlang
[
  {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

In the Nodinite agent configuration:

* :fa-link: **Management API URL**: `https://rabbitmq-server:15671`
* :fa-shield-halved: **SSL Certificate Validation**: Enable/disable certificate validation based on environment (disable for self-signed certificates in dev/test)
* :fa-certificate: **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

Verify Management API accessible over HTTPS:

```bash
curl -u username:password https://rabbitmq-server:15671/api/overview
```

## 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][Prerequisites firewall].

## :fa-hand-point-right: Next Steps

:fa-clipboard-check: [Prerequisites for RabbitMQ Monitoring Agent][Prerequisites]  
:fa-edit: [Configuration Guide][Configuration]  

## :fa-link-horizontal: Related Topics

:fa-book: [RabbitMQ Agent Overview][Overview]  
:fa-question: [Troubleshooting Overview][Troubleshooting]  

[Configuration]:{ndr}/Logging%20and%20Monitoring/RabbitMQ/Getting%20started/3.%20Configuration.md
[Overview]:{ndr}/Logging%20and%20Monitoring/RabbitMQ/Overview.md
[Prerequisites]:{ndr}/Logging%20and%20Monitoring/RabbitMQ/Getting%20started/1.%20Prerequisites.md
[Prerequisites firewall]:{ndr}/Logging%20and%20Monitoring/RabbitMQ/Getting%20started/1.%20Prerequisites.md#fa-shield-check-what-firewall-settings-are-required-for-the-rabbitmq-monitoring-agent
[Troubleshooting]:{ndr}/Logging%20and%20Monitoring/RabbitMQ/Troubleshooting/Overview.md