Page 1 of 1

Problems configuring Nagios Network Analyzer to use https

Posted: Thu Sep 19, 2019 9:49 am
by HIINNS
First, I needed to manually install Nagios Network Analyzer. I have the need to have the web app use https and am hving problems. The initial installation apparently didn't configure some of the files needed to use https. For example, /etc/httpd/conf.d/ssl.conf was missing and /usr/libexec/httpd-ssl-pass-dialog was also missing. Copying these files over, and configuring ssl.conf and nagiosna.conf as directed produced an error I can't get beyond. The version installed was 2.4.0. Trying to bring up the httpd service produced the error as follows:

Sep 19 08:33:25 myserver systemd[1]: Starting The Apache HTTP Server...
Sep 19 08:33:25 myserver httpd[17967]: AH00526: Syntax error on line 18 of /etc/httpd/conf.d/ssl.conf:
Sep 19 08:33:25 myserver httpd[17967]: Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the ...iguration
Sep 19 08:33:25 myserver systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 19 08:33:25 myserver kill[17974]: kill: cannot find process ""
Sep 19 08:33:25 myserver systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 19 08:33:25 myserver systemd[1]: Failed to start The Apache HTTP Server.
Sep 19 08:33:25 myserver systemd[1]: Unit httpd.service entered failed state.
Sep 19 08:33:25 myserver systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

Any ideas?

Re: Problems configuring Nagios Network Analyzer to use http

Posted: Thu Sep 19, 2019 9:55 am
by scottwilkerson
Can you run this

Code: Select all

yum install mod_ssl -y
systemctl httpd restart
If you still have issues, pleas attach your /etc/httpd/conf.d/ssl.conf
along with your OS and version

It sounds like the mod_ssl isn't installed or loaded

Code: Select all

grep -R mod_ssl.so /etc/httpd/|grep LoadModule

Re: Problems configuring Nagios Network Analyzer to use http

Posted: Thu Sep 19, 2019 12:06 pm
by HIINNS
Thank you so much. The web page is now configured to use the SSL/TLS cert. Thank you for the prompt response. Consider the case closed.

Re: Problems configuring Nagios Network Analyzer to use http

Posted: Thu Sep 19, 2019 12:13 pm
by scottwilkerson
HIINNS wrote:Thank you so much. The web page is now configured to use the SSL/TLS cert. Thank you for the prompt response. Consider the case closed.
Great!

Locking