This is a cache of https://support.nagios.com/kb/article/nrdp-configuring-ssl-tls-603.html. It is a snapshot of the page at 2025-05-14T00:10:28.830+0000.
NRDP - Configuring SSL/TLS
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:

:wq

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:

<result>
  <status>-1</status>
  <message>HTTPS REQUIRED</message>
</result>

 

 

 

Final Thoughts

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

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

1 (2)
Article Rating (2 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
SSL/TLS - Understanding Certificate Warnings
Viewed 38110 times since Wed, Jun 14, 2017
Nagios xi - Maximizing Performance In Nagios xi
Viewed 6232 times since Thu, Jan 28, 2016
Nagios xi - Resetting The nagiosadmin Password
Viewed 46825 times since Mon, Jan 25, 2016
Nagios xi - Configuring SSL for Nagios xi
Viewed 13096 times since Wed, Jan 27, 2016
Installing Nagios Mobile
Viewed 8471 times since Wed, Jan 27, 2016
NDOUtils - Data Processing Options in ndomod.cfg
Viewed 8475 times since Thu, Oct 22, 2015
Nagios xi - Understanding the Nagios xi Directory Structure
Viewed 7149 times since Thu, Jan 28, 2016
Nagios xi - MySQL/MariaDB - Max Connections
Viewed 73638 times since Thu, Jun 2, 2016
Nagios xi - Installing Components
Viewed 5333 times since Wed, Jan 27, 2016
Nagios xi - Hardware Requirements - Baseline Testing
Viewed 6693 times since Sun, Jul 17, 2016