Error while running apache2ctl configtest

I get this output when i run my command:
Error while running apache2ctl configtest.
Action 'configtest' failed.
The Apache error log may have more information.

AH00526: Syntax error on line 33 of /etc/apache2/sites-enabled/000-default-le-ss l.conf:
SSLCertificateFile: file '********' does not exist or is empty

My web server is (include version): Ubuntu 16.04

The operating system my web server runs on is (include version): Linux

1 Like

Hi there @googlyy and welcome to the Community.

It seems your Apache is looking for a certificate and it's not finding it. Please corect the value of SSLCertificateFile so it points to an actual certificate and try again. It could also be due to the fact apache2ctl is not run as root, so you could also try sudo apache2ctl configtest.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.