Problems configuring Nagios Network Analyzer to use https

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Problems configuring Nagios Network Analyzer to use https

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problems configuring Nagios Network Analyzer to use http

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Problems configuring Nagios Network Analyzer to use http

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problems configuring Nagios Network Analyzer to use http

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked