Page 1 of 1

Force SSL

Posted: Tue Jan 03, 2012 12:43 pm
by ordwaycenter
Hi. I followed the instructions for enabling SSL with Nagios XI here: http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

And then I followed the instructions for forcing HTTPS with Nagios XI here:
http://nagios.sourceforge.net/docs/3_0/cgisecurity.html

Yet when I try to go to the old http (not https) site, it still works just fine and lets me login under HTTP.

How do I force it to require HTTPS?

Thanks,
Dumont

Re: Force SSL

Posted: Tue Jan 03, 2012 2:10 pm
by scottwilkerson
If you want to Require SSL I believe you can change one line in /etc/httpd/conf.d/nagiosxi.conf

Code: Select all

#  SSLRequireSSL
to

Code: Select all

  SSLRequireSSL
Also, the document http://nagios.sourceforge.net/docs/3_0/cgisecurity.html is for Nagios core, not XI

Re: Force SSL

Posted: Tue Jan 03, 2012 4:37 pm
by ordwaycenter
Thanks! I was changing the core file instead of the xi file.

Re: Force SSL

Posted: Tue Jan 03, 2012 4:47 pm
by scottwilkerson
no problem

Re: Force SSL

Posted: Wed Jan 04, 2012 11:52 am
by ordwaycenter
This one is resolved.