Page 1 of 1

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

Posted: Thu Jul 10, 2014 12:01 pm
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

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

Posted: Thu Jul 10, 2014 11:55 pm
by Box293
Does this page give you the information you are after?

http://nagios.sourceforge.net/docs/3_0/cgisecurity.html

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

Posted: Fri Jul 11, 2014 2:06 am
by msachikanta
Thank you for your post. I will follow the steps given there.

Regards,
Sachikanta

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

Posted: Fri Jul 11, 2014 9:30 am
by tmcdonald
Cool. Let us know how it works out for you.

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

Posted: Thu Jul 24, 2014 6:58 am
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