Fullchain.pem does not exist or is empty

I got this message when I do apache2ctl -S

: Syntax error on line 34 of /etc/apache2/sites-enabled/default-ssl.conf:
SSLCertificateFile: file

fullchain.pem’ does not exist or is empty
Action ‘-S’ failed.

The site seems to be loading normal and the certificate seems to be there.
What should I do, I found this similar topic https://community.letsencrypt.org/t/apache-sslcertificatefile-error-does-not-exist-or-is-empty/14995/11

when i do: openssl x509 -text -noout -in /etc/letsencrypt/live/www.example.com/fullchain.pem. I Iget:
Error opening Certificate /etc/letsencrypt/live/katbulk.hopto.rog/fullchain.pem
1995835488:error:0200100D:system library:fopen:Permission denied:bss_file.c:398:fopen(’/etc/letsencrypt/live/katbulk.hopto.rog/fullchain.pem’,‘r’)
1995835488:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
unable to load certificate

I changed my document root yesterday, (and back) but the error remains. Before I had no problem.
What should I do?

What if you run the openssl command with sudo?

[quote=“schoen”]What if you run the openssl command with sudo?

[/quote]

Oops, its normal again

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