Error fullchain.pem

Sometimes my website is going down and I'm figure out what is it.
When I write this command on ubuntu "apache2ctl -t" it says:

AH00526: Syntax error on line 20 of /etc/apache2/sites-enabled/empregomais.com-le-ssl.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/empregomais.com/fullchain.pem' does not exist or is empty

My domain is: emprego.com and I use Ubuntu 20.04 on OVH.

Someone can help me fixing this error? Probably is not that sends the website down, but I fix that error neither.

DId you run apache2ctl -t as root or use sudo?

1 Like

Hey buddy,

Using sudo!

OK, great, let's see what we can find out further. Can you run and post the results of the following commands?:

certbot certificates

ls -l /etc/letsencrypt/live/empregomais.com/

ls -l /etc/letsencrypt/live/ if the above command doesn't do anything.

1 Like

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