Nagios web interface not showing after SSL cert installed
Posted: Thu Jan 25, 2018 2:03 am
So I installed Nagios core 4.1.1 and it was working fine until I installed the SSL cert. Everything seems working fine and I got the "SECURE" word with padlock sign in front of my website after cert got installed. When I try to open nagios url, it even ask me for user/pass. Once I enter the credentails, I don't get the web interface except just white screen.
when i curl to my html page
curl -v https://10.10.10.10 --> I get http 200
curl -v -u nagioadmin:password https://10.10.10.10/nagios --> I got http 301
ssl_error_log
error_log
when i curl to my html page
curl -v https://10.10.10.10 --> I get http 200
curl -v -u nagioadmin:password https://10.10.10.10/nagios --> I got http 301
Code: Select all
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://10.10.10.10/nagios/">here</a>.</p>
</body></html>
ssl_error_log
Code: Select all
[Thu Jan 25 04:22:07.658402 2018] [ssl:warn] [pid 32063] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 04:22:07.696284 2018] [ssl:warn] [pid 32063] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 04:55:23.770667 2018] [ssl:warn] [pid 32524] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 04:55:23.810044 2018] [ssl:warn] [pid 32524] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 04:57:56.076135 2018] [ssl:warn] [pid 32592] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 04:57:56.113848 2018] [ssl:warn] [pid 32592] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 05:22:43.474198 2018] [ssl:warn] [pid 451] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 05:22:43.514957 2018] [ssl:warn] [pid 451] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 05:35:47.355865 2018] [ssl:warn] [pid 621] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 05:35:47.392811 2018] [ssl:warn] [pid 621] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 05:42:32.014292 2018] [ssl:warn] [pid 689] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 05:42:32.051316 2018] [ssl:warn] [pid 689] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 05:55:15.530718 2018] [ssl:warn] [pid 818] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 05:55:15.568080 2018] [ssl:warn] [pid 818] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 05:55:26.278077 2018] [authz_core:error] [pid 823] [client 70.113.16.114:65317] AH01630: client denied by server configuration: /usr/local/nagios/share/
[Thu Jan 25 05:55:33.864310 2018] [authz_core:error] [pid 820] [client 70.113.16.114:65320] AH01630: client denied by server configuration: /usr/local/nagios/share/
[Thu Jan 25 05:59:06.922378 2018] [authz_core:error] [pid 872] [client 70.113.16.114:49257] AH01630: client denied by server configuration: /usr/local/nagios/share/
[Thu Jan 25 06:06:44.644208 2018] [authz_core:error] [pid 821] [client 70.113.16.114:49781] AH01630: client denied by server configuration: /usr/local/nagios/share/
[Thu Jan 25 06:06:47.570040 2018] [authz_core:error] [pid 821] [client 70.113.16.114:49781] AH01630: client denied by server configuration: /usr/local/nagios/share/
[Thu Jan 25 06:06:51.335476 2018] [authz_core:error] [pid 821] [client 70.113.16.114:49781] AH01630: client denied by server configuration: /usr/local/nagios/share/
[Thu Jan 25 06:08:18.557294 2018] [authz_core:error] [pid 819] [client 70.113.16.114:49795] AH01630: client denied by server configuration: /usr/local/nagios/share/
[Thu Jan 25 06:08:36.650535 2018] [ssl:warn] [pid 1010] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 06:08:36.687393 2018] [ssl:warn] [pid 1010] AH01909: RSA certificate configured for ::1:443 does NOT include an ID which matches the server name
[Thu Jan 25 06:29:08.931076 2018] [ssl:warn] [pid 1148] AH01909: RSA certificate configured for DJ-MON:443 does NOT include an ID which matches the server name
[Thu Jan 25 06:29:08.968540 2018] [ssl:warn] [pid 1148] AH01909: RSA certificate configured for DJ-MON:443 does NOT include an ID which matches the server name
[Thu Jan 25 06:41:41.905200 2018] [ssl:warn] [pid 1227] AH01909: RSA certificate configured for DJ-MON:443 does NOT include an ID which matches the server name
[Thu Jan 25 06:41:41.940973 2018] [ssl:warn] [pid 1227] AH01909: RSA certificate configured for DJ-MON:443 does NOT include an ID which matches the server name
Code: Select all
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message
[Thu Jan 25 05:55:15.566132 2018] [auth_digest:notice] [pid 818] AH01757: generating secret for digest authentication ...
[Thu Jan 25 05:55:15.566990 2018] [lbmethod_heartbeat:notice] [pid 818] AH02282: No slotmem from mod_heartmonitor
[Thu Jan 25 05:55:15.582600 2018] [mpm_prefork:notice] [pid 818] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Thu Jan 25 05:55:15.582663 2018] [core:notice] [pid 818] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jan 25 06:08:35.564650 2018] [mpm_prefork:notice] [pid 818] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jan 25 06:08:36.648460 2018] [core:notice] [pid 1010] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Jan 25 06:08:36.649595 2018] [suexec:notice] [pid 1010] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message
[Thu Jan 25 06:08:36.685179 2018] [auth_digest:notice] [pid 1010] AH01757: generating secret for digest authentication ...
[Thu Jan 25 06:08:36.686381 2018] [lbmethod_heartbeat:notice] [pid 1010] AH02282: No slotmem from mod_heartmonitor
[Thu Jan 25 06:08:36.710138 2018] [mpm_prefork:notice] [pid 1010] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Thu Jan 25 06:08:36.710189 2018] [core:notice] [pid 1010] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jan 25 06:29:07.838819 2018] [mpm_prefork:notice] [pid 1010] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jan 25 06:29:08.928489 2018] [core:notice] [pid 1148] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Jan 25 06:29:08.929879 2018] [suexec:notice] [pid 1148] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 25 06:29:08.966263 2018] [auth_digest:notice] [pid 1148] AH01757: generating secret for digest authentication ...
[Thu Jan 25 06:29:08.967487 2018] [lbmethod_heartbeat:notice] [pid 1148] AH02282: No slotmem from mod_heartmonitor
[Thu Jan 25 06:29:08.983271 2018] [mpm_prefork:notice] [pid 1148] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Thu Jan 25 06:29:08.983332 2018] [core:notice] [pid 1148] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jan 25 06:41:40.821566 2018] [mpm_prefork:notice] [pid 1148] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jan 25 06:41:41.902945 2018] [core:notice] [pid 1227] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Jan 25 06:41:41.904215 2018] [suexec:notice] [pid 1227] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jan 25 06:41:41.938915 2018] [auth_digest:notice] [pid 1227] AH01757: generating secret for digest authentication ...
[Thu Jan 25 06:41:41.939926 2018] [lbmethod_heartbeat:notice] [pid 1227] AH02282: No slotmem from mod_heartmonitor
[Thu Jan 25 06:41:41.967806 2018] [mpm_prefork:notice] [pid 1227] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Thu Jan 25 06:41:41.967863 2018] [core:notice] [pid 1227] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'