Change Nagios web portal login from http to https (solved)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
msachikanta
Posts: 58
Joined: Tue Jan 03, 2012 2:35 am

Change Nagios web portal login from http to https (solved)

Post by msachikanta »

Hello,

I would like to secure the nagios web portal, hence wish to change web portal login from http to https, if anyone aware of the process please help me with that.

Currently my nagios portal is running on http like 'http://server01/nagios'
and I would like to change it to https like 'https://server01/nagios'

Thanks in advance.

Regards,
Sachikanta
Last edited by msachikanta on Thu Jul 24, 2014 6:58 am, edited 1 time in total.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: How to change Nagios web portal login from http to https

Post by Box293 »

Does this page give you the information you are after?

http://nagios.sourceforge.net/docs/3_0/cgisecurity.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
msachikanta
Posts: 58
Joined: Tue Jan 03, 2012 2:35 am

Re: How to change Nagios web portal login from http to https

Post by msachikanta »

Thank you for your post. I will follow the steps given there.

Regards,
Sachikanta
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to change Nagios web portal login from http to https

Post by tmcdonald »

Cool. Let us know how it works out for you.
Former Nagios employee
msachikanta
Posts: 58
Joined: Tue Jan 03, 2012 2:35 am

Re: Change Nagios web portal login from http to https (solve

Post by msachikanta »

Hi,

I have done the changes and it's working fine for me.

https://server01/nagios

I followed below steps.
----------------------------
1 - Installed - mod_ssl package.
2 - Edited ssl.conf file under /etc/httpd/conf.d/ directory and updated SSLCertificateFile & SSLCertificateKeyFile with required locations with file name.
3 - Updated nagios.conf file under /etc/httpd/conf.d/ directory and added SSLRequireSSL under both ScriptAlias & Alias.
4 - Then restarted httpd and nagios service.

Thanks,
Sachikanta
Locked