Page 1 of 1

Host Changes not taking effect via https

Posted: Mon Jul 11, 2011 7:43 am
by emperaza
Hello,

I noticed that there have been several posts regarding issues with ssl. The only bug I have noticed is that changes made by selecting "Re-configure this host" in the Configure tab of the Host Detail Page are not taking effect over ssl. Additionally, changes made through the Core Config Manager do stick, however the Sync Status remains "Out of Sync" even after selecting Apply Configuration. My work around for the time being has been to use the Core Configuration Export tool to write the monitoring data as my organization requires all sites to be over ssl.

I am running 2011r1.5 on a RHEL 5.5 64bit, to enforce ssl I am using mod_rewrite the only modification I have made to my httpd.conf file are the following three lines:

Code: Select all

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
I would appreciate any suggestions thanks,

Re: Host Changes not taking effect via https

Posted: Mon Jul 11, 2011 12:39 pm
by mguthrie
You'll need to set the following variable in the /usr/local/nagiosxi/html/config.inc.php file:

Code: Select all

$cfg['use_https'] = true; 
Also make sure in the Admin->System Settings page you have the program URL set to use https.

We're still working some of the bugs out with https, so let us know how it goes.