Configs not applying - waiting - and ssl error
Posted: Mon Feb 22, 2016 4:15 pm
When we go to "Apply Configuration" we get stuck in the immortal spin of the "Waiting on configuration verification"...
I went through the steps of restarting httpd and then running the ./reconfigure_nagios.sh and we get the below error.
We did add our own SSL cert to Nagios and followed the instructions in how to configure SSL for XI.
Here is the error output from the ./reconfigure_nagios.sh. At this point we cannot make any changes.
I went through the steps of restarting httpd and then running the ./reconfigure_nagios.sh and we get the below error.
We did add our own SSL cert to Nagios and followed the instructions in how to configure SSL for XI.
Here is the error output from the ./reconfigure_nagios.sh. At this point we cannot make any changes.
Code: Select all
[nagios@nagiasp01 scripts]$ ./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.login--2016-02-22 16:12:23-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://localhost [following]
--2016-02-22 16:12:23-- https://localhost/
Connecting to localhost|::1|:443... connected.
WARNING: cannot verify localhost’s certificate, issued by “/O=DCRI Security Domain/OU=pki-ca/CN=Certificate Authority”:
Unable to locally verify the issuer’s authority.
WARNING: certificate common name “nagiasp01.dcri.duke.net” doesn't match requested host name “localhost”.
HTTP request sent, awaiting response... 200 OK
Length: 2999 (2.9K) [text/html]
Saving to: “nagiosql.login”
100%[===========================================================================>] 2,999 --.-K/s in 0s
2016-02-22 16:12:23 (144 MB/s) - “nagiosql.login” saved [2999/2999]
NAGIOSQL LOGIN FAILED!