Apache Not Able to Use Private Key Due to File Permissions

Greets! I have a followig problem. I install and configure cert a few months ago. Now i need to reload apache and recieve an error:

The apache2 configtest failed. Not doing anything.
Output of config test was:
AH00526: Syntax error on line 19 of /etc/apache2/sites-enabled/domain.com-le-ssl.conf:
SSLCertificateKeyFile: file '/var/lib/acme/live/domain.com/privkey' does not exist or is empty
Action 'configtest' failed.

Site works fine without any problem. Privkey permissions is 755. Apache error log doesn`t contain any notes.
I would be very grateful for your help!

Did you edit the error message or type it yourself? Because the correct filename would be privkey.pem, not privkey.

No. It`s copy/paste from console. I rename file to privkey.pem and path at site-enabled config but problem still the same.

…/live/domain.com/privkey.pem should be a symlink to …archive/domain.com/privkey-nnnn.pem. Is it? Is the file present in archive? Are its permissions correct?

Thanks! It present and problem was with his permissions.

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