Today i installed our ssl certificate to enable https however it was ages installing then the gui didn’t load.
Now we are unable to get to the gui. I’ve logged into cli and tried service httpd restart and its fails.
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-09-16 20:33:20 BST; 23s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 16174 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 16173 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 16173 (code=exited, status=1/FAILURE)
Sep 16 20:33:20 freepbx.fortress.local systemd[1]: Starting The Apache HTTP Server…
Sep 16 20:33:20 freepbx.fortress.local httpd[16173]: [Wed Sep 16 20:33:20.205300 2020] [so:warn] [pid 16173] AH01574: module ssl_module is already loaded, skipping
Sep 16 20:33:20 freepbx.fortress.local systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 16 20:33:20 freepbx.fortress.local kill[16174]: kill: cannot find process “”
Sep 16 20:33:20 freepbx.fortress.local systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 16 20:33:20 freepbx.fortress.local systemd[1]: Failed to start The Apache HTTP Server.
Sep 16 20:33:20 freepbx.fortress.local systemd[1]: Unit httpd.service entered failed state.
Sep 16 20:33:20 freepbx.fortress.local systemd[1]: httpd.service failed.
[root@freepbx ~]#
Can you please explain the process with which you installed the certificate? Did you use Certificate Management? Is this a LetsEncrypt cert or one you obtained elsewhere?
In short, we need a bit more information about your situation before we can even begin to help you out.
We used Certificate Management and uploaded a signed certificate from our CA.
We then went to System Admin > Https Setup. selected uploaded certificate and pressed install.
It sat on installing for 10 minutes + then gui stopped working. We have also tried restarting the server.
Hi @pricie1991
What about your PBX Modules update ? are up to date ?
Pls try to check first updates and check your ssl permissions. Could be your pbx Cert Manager module version are old.
fwconsole ma refreshsignatures
fwconsole ma showupgrades
fwconsole ma upgradeall
fwconsole chown
fwconsole r --verbose
Try to re-install your Custom SSL Certificate and check HTTPS Port from Port Management:
Admin → System Admin → 1-Port Management : HTTPS Port check 443 →
2- HTTPS Setup → Settings Tab → Press to Install Button.
Then you can check from PBX CLI your FQDN name (SSL Certificate) with below command.
openssl s_client -connect pbx_fqdn_name:443
If all okay, You should see return on your PBX CLI Display below messages.
[root@freepbx ~]# systemctl start httpd
Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service” and “journalctl -xe” for details.
[root@freepbx ~]# egrep -R “Listen” /etc/httpd/
/etc/httpd/conf/httpd.conf:# Listen: Allows you to bind Apache to specific IP addresses and/or
/etc/httpd/conf/httpd.conf:# Change this to Listen on specific IP addresses as shown below to
/etc/httpd/conf/httpd.conf:#Listen 12.34.56.78:80
/etc/httpd/conf.d/ssl.conf:Listen 443
/etc/httpd/conf.d/schmoozecom.conf:Listen 80
/etc/httpd/conf.d/schmoozecom.conf:Listen 82
/etc/httpd/conf.d/schmoozecom.conf:Listen 84
Binary file /etc/httpd/modules/mod_heartmonitor.so matches
Binary file /etc/httpd/modules/mod_mpm_event.so matches
Binary file /etc/httpd/modules/mod_mpm_prefork.so matches
Binary file /etc/httpd/modules/mod_mpm_worker.so matches