Page 1 of 1
Nagios XI Force HTTPS
Posted: Tue Jul 14, 2015 4:24 pm
by jkinning
I had our Internal Security Team ask if I can change our Nagios XI interface to force the use of HTTPS. I found a thread dated for last year about changing the /usr/local/nagiosxi/html/config.inc.php to $cfg['use_https']=true; and under Admin->Manage System Config and change Program URL to
https://nagiosurl
I did both of these but it doesn't appear to be working. If I generate an internal certificate from our CA where do I need to place the certificate or can I just generate one from the Nagios XI server? What other settings do I need to change in order to use HTTPS instead of HTTP?
Re: Nagios XI Force HTTPS
Posted: Tue Jul 14, 2015 4:26 pm
by tmcdonald
Re: Nagios XI Force HTTPS
Posted: Wed Jul 15, 2015 10:42 am
by jkinning
No, but I did now and it appears to be working.
BUT I am getting alerts from my Nagios XI showing -
Code: Select all
Error: Could not parse XML from http://<IP address of Nagios XI server>/nagiosxi ()
This is for Nagios XI Jobs is CRITICAL and Nagios XI Daemons is CRITICAL
Re: Nagios XI Force HTTPS
Posted: Wed Jul 15, 2015 12:44 pm
by jkinning
Could someone move this over to the Customer Support -> Nagios XI support board? I don't see where or even if I can do so.
Re: Nagios XI Force HTTPS
Posted: Wed Jul 15, 2015 1:00 pm
by jolson
I moved your post.
It sounds like when you ran the Nagios XI monitoring wizard, you used the 'http' address of the Nagios XI server. I recommend re-running the wizard using the new HTTPS address:
2015-07-15 12_59_52-Nagios XI - Configuration - Firefox Developer Edition.png
Re: Nagios XI Force HTTPS
Posted: Wed Jul 15, 2015 1:05 pm
by jkinning
This is from the Nagios XI server itself not a remote Nagios XI instance. I do see where it has to do with http since I changed over to https but I don't see any hosts or service checks in CCM for this actual server. When I installed Nagios XI it must have setup checks for itself but I don't see them anywhere. I followed these steps
https://assets.nagios.com/downloads/nag ... s%20XI.pdf
Re: Nagios XI Force HTTPS
Posted: Wed Jul 15, 2015 1:10 pm
by jkinning
Thanks I got it. Everything is looking good with the https. You can close this out.
It was a remote XI checking my production instance. Duh!

Re: Nagios XI Force HTTPS
Posted: Wed Jul 15, 2015 1:55 pm
by jolson
No problem! I'll lock this thread and mark it as resolved. Thanks!