Force SSL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ordwaycenter
Posts: 37
Joined: Tue Dec 06, 2011 2:42 pm

Force SSL

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Force SSL

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ordwaycenter
Posts: 37
Joined: Tue Dec 06, 2011 2:42 pm

Re: Force SSL

Post by ordwaycenter »

Thanks! I was changing the core file instead of the xi file.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Force SSL

Post by scottwilkerson »

no problem
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ordwaycenter
Posts: 37
Joined: Tue Dec 06, 2011 2:42 pm

Re: Force SSL

Post by ordwaycenter »

This one is resolved.
Locked