My certificates stopped renewing. Upon investigating ( by running certbot manually )
I get the message below. It’s definitely a bug that the end result is
“cert not yet due for renewal” instead of some recognisable error state.
Its also a bug that the error message was not captured by the log. I run
./certbot.auto >> logfile
The underlying problem is an invalid vhost.conf file, which was left around
randomly after some other operations on site configuration. The invalid
file is not your problem, but maybe shouldn’t have be a show stopper
for the renewal process.
Plugins selected: Authenticator webroot, Installer None
Cert not yet due for renewal
Keeping the existing certificate
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apachectl configtest.
httpd: Syntax error on line 236 of /etc/httpd/conf/httpd.conf: Syntax error on line 79 of /etc/httpd/conf.d/vhost_git.boardspace.net.conf: Include directory ‘/home/git/var/git.boardspace.net/apache’ not found
Plugins selected: Authenticator webroot, Installer None
Cert not yet due for renewal