Config error after installing with certbot

Please fill out the fields below so we can help you better.

My domain is:
although not accessible because Apache cannot start

I ran this command: apt-get -y install php7.0 libapache2-mod-php7.0

It produced this output:

apache2_invoke: Enable module php7.0
apache2_reload: Your configuration is broken. Not restarting Apache 2
apache2_reload: AH00526: Syntax error on line 35 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
apache2_reload: SSLCertificateFile: file ‘/etc/letsencrypt/live/’ does not exist or is empty

I have checked and event the live folder doesn’t exist the only files anywhere near there are in /etc/letsencrypt/ and are:
cli.ini and options-ssl-apache.conf

My web server is (include version): Apache/2.4.25 (Debian)

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

My hosting provider, if applicable, is: I am using my own VPS

I can login to a root shell on my machine (yes or no, or I don’t know): Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no, all over SSH

Turns out mod rewrite had disabled and was making the certbot install fail. once I fixed that it sorted its self out

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