Control Web Panel

WebPanel => Apache => Topic started by: Paul on March 18, 2019, 03:44:49 AM

Title: Cant start Apache server. SSLCertificateFile does not exist or is empty
Post by: Paul on March 18, 2019, 03:44:49 AM
I can't start my my Apache webserver.
I get the following error.

Stopping httpd: [FAILED]
Starting httpd: AH00526: Syntax error on line 6 of /usr/local/apache/conf.d/hostname-ssl.conf:
SSLCertificateFile: file '/etc/pki/tls/certs/xxx.myserver.us.cert' does not exist or is empty
[FAILED]

The file xxx.myserver.us.cert is not there.

Any help appreciated
Title: Re: Cant start Apache server. SSLCertificateFile does not exist or is empty
Post by: Paul on March 18, 2019, 10:06:41 AM
Was able to fix this by simply going to Server Settings/Change Hostname  and saving with the same settings.