Page 1 of 2
Nagios XI http to https web.
Posted: Tue Sep 30, 2014 9:41 am
by shailu2014
Hi,
Please can some one help that how to configure the Nagios XI http to https web.
Thanks,
Sjain
Re: Nagios XI http to https web.
Posted: Tue Sep 30, 2014 9:43 am
by tmcdonald
Take a look through this document:
http://assets.nagios.com/downloads/nagi ... s%20XI.pdf
I usually suggest reading through it once before making any changes, as there are some pretty specific steps that must be taken.
Re: Nagios XI http to https web.
Posted: Wed Oct 01, 2014 3:12 am
by shailu2014
Hi,
Thanks for help, I have gone through with your document and done all configuration but when I am doing the last steps as per document
Next, in the web interface, navigate to Configure → Core Config Manager → Config Manager Admin → Config Manager Settings
change the "server protocol" from http to https and then click on the save button. It showing the error which mention below. (Screenshot attached).
Error : Unable to save to file: /var/www/html/nagiosql/config/settings.php
Thanks,
Sjain
Re: Nagios XI http to https web.
Posted: Wed Oct 01, 2014 9:38 am
by tmcdonald
What are the permissions on that file?
Code: Select all
ls -l /var/www/html/nagiosql/config/settings.php
Mine are "-rw-r--r-- apache.apache" and I have not had any problems.
Re: Nagios XI http to https web.
Posted: Wed Oct 01, 2014 9:44 am
by shailu2014
I have checked and found file permission which mentioned below.
-rw-r--r--. 1 root root 662 Sep 18 10:34 /var/www/html/nagiosql/config/settings.php
Pls suggest
Thanks,
Sjain
Re: Nagios XI http to https web.
Posted: Wed Oct 01, 2014 9:55 am
by tmcdonald
Change the file ownership from root.root to apache.apache as I showed you above:
Code: Select all
chown apache.apache /var/www/html/nagiosql/config/settings.php
Re: Nagios XI http to https web.
Posted: Wed Oct 01, 2014 11:35 am
by shailu2014
Hi,
Thanks for reply, it is working but when I open the URl https:// it is showing in red mark. (screen shot attached)
Please help.....
Thanks,
Sjain
Re: Nagios XI http to https web.
Posted: Wed Oct 01, 2014 12:03 pm
by tmcdonald
That is just the browser telling you that the SSL certificate is self-signed, as opposed to being signed by a certificate authority.
Re: Nagios XI http to https web.
Posted: Wed Feb 04, 2015 1:36 am
by shailu2014
Thanks for help.
every things working fine but when I am trying to restart the httpd services on that time I am getting warning error which mentioned below
[Wed Feb 04 12:02:59 2015] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
Kindly please let me why I am getting this error.
Thanks,
sjain2014.
Re: Nagios XI http to https web.
Posted: Wed Feb 04, 2015 10:45 am
by abrist
Your server most likely has a default *:443 virtual host config file. IF everything is working you are most likely fine. The vhost files are usually located at: