Home » Categories » Multiple Categories

NRDP - Configuring SSL/TLS

Configuring SSL/TLS For NRDP

This KB article describes how to configure NRDP on your Nagios Core server to use certificates for SSL/TLS. Using SSL/TLS for NRDP ensures that the data communication is encrypted.

This guide is based on Nagios Core being installed using the following KB article:

Documentation - Installing Nagios Core From Source

This guide also applies to Nagios XI.


Implement Certificate

NRDP runs on the same server as Nagios Core, hence it will use the same certificate that Nagios Core uses. If you have not already implemented certificates with Nagios Core please complete the steps in the following KB article:

Documentation - Nagios Core - Configuring SSL/TLS

If you are using Nagios XI please follow this documentation:

Documentation - How to Configure SSL/TLS for Nagios XI


Configure NRDP

Establish a terminal session to your Nagios Server.

Open the /usr/local/nrdp/server/config.inc.php file in vi by executing the following command:

vi /usr/local/nrdp/server/config.inc.php

 When using the vi editor, to make changes press i on the keyboard first to enter insert mode. Press Esc to exit insert mode.


Find the following line:

$cfg["require_https"] = false;


Change it to true:

$cfg["require_https"] = true;


When you have finished, save the changes in vi by typing:


and press Enter.


That completes the changes requred, NRDP will now require SSL/TLS to be used. If you tried using http it will present the following message:

  <message>HTTPS REQUIRED</message>




Final Thoughts

For any support related questions please visit the Nagios Support Forums at:


1 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Monitoring Unconfigured Objects
Viewed 2254 times since Thu, Jan 28, 2016
Nagios XI - Enabling Memcached Support
Viewed 1639 times since Wed, Jan 27, 2016
Nagios XI - Optimizing The PHP Settings File
Viewed 5342 times since Thu, Jul 13, 2017
NRDP - Client Scheduling And Configuration - Linux
Viewed 1875 times since Thu, Apr 28, 2016
Resizing The VM Disk Size For CentOS 7
Viewed 20957 times since Tue, May 8, 2018
Nagios XI - MySQL/MariaDB - Max Connections
Viewed 14192 times since Thu, Jun 2, 2016
Converting PostgreSQL to MySQL for Nagios XI
Viewed 20436 times since Tue, Dec 6, 2016
Nagios XI - Installing Components
Viewed 1515 times since Wed, Jan 27, 2016
Nagios XI - Using rrdcached with Nagios XI
Viewed 1754 times since Thu, Jan 28, 2016
Nagios Log Server - Alerting On Log Events
Viewed 3381 times since Thu, Jan 28, 2016