Reply To: RE: HTTPS certificate – issues

VitalPBX Community Support General Discussion HTTPS certificate – issues Reply To: RE: HTTPS certificate – issues

    toxicfusion
    Participant
    Up
    0
    Down

    This is what happens when I try to use the built in LetsEncrypt certificate…  I create it within

    Admin >> Sys. Settings >> Certificates >> Lets Encrypt… save…

    Admin >>> HTTP server >> Select cert,  Save

    and then I try and restart the httpd service. FAILS.    The bundle.pem is empty.

    This is 100% why I manually did certbot and created own cert files and created symbolic links.  But the vitalpbx.conf httpd file gets over written everytime there is changes. So as long as I dont have to bounce the httpd service, webUI works.

    systemctl status httpd
    ● 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 2018-10-10 08:57:19 EDT; 14s ago
    Docs: man:httpd(8)
    man:apachectl(8)
    Main PID: 19298 (code=exited, status=1/FAILURE)

    Oct 10 08:57:19 sip-host.mydomain.com systemd[1]: httpd.service failed.
    Oct 10 08:57:19 sip-host.mydomain.com systemd[1]: Starting The Apache HTTP Server…
    Oct 10 08:57:19 sip-host.mydomain.com httpd[19298]: AH00526: Syntax error on line 26 of /etc/httpd/conf.d/vitalpbx.conf:
    Oct 10 08:57:19 sip-host.mydomain.com httpd[19298]: SSLCertificateFile: file ‘/usr/share/ombutel/certificates/sip-host.mydomain.com/bundle.pem’ does not exist or is empty
    Oct 10 08:57:19 sip-host.mydomain.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    Oct 10 08:57:19 sip-host.mydomain.com kill[19299]: kill: cannot find process “”
    Oct 10 08:57:19 sip-host.mydomain.com systemd[1]: httpd.service: control process exited, code=exited status=1
    Oct 10 08:57:19 sip-host.mydomain.com systemd[1]: Failed to start The Apache HTTP Server.
    Oct 10 08:57:19 sip-host.mydomain.com systemd[1]: Unit httpd.service entered failed state.
    Oct 10 08:57:19 sip-host.mydomain.com systemd[1]: httpd.service failed.

    0