Hey there, I’m up for my first renewal of 11 domains on my CentOS 7 machine. The initial deployment was painless, but now I’m having some trouble.
After getting 20 emails from LetsEncrypt this morning alone, I figure I better look into this.
The cron for /usr/bin/certbot renew
fails, and when I run /usr/bin/certbot renew
manually I get the below errors. I’ve truncated it a little.
It seems that when it’s processing a domain conf file (domain.com and domain2.net in my example below), it ends up looking at only 1 Apache file (myserver.tld in my example below).
Each domain has it’s own dedicated file in /etc/httpd/sites-enabled/domain.com-le-ssl.conf
where the VirtualHost is defined.
As a result all are failing. Any insight on how to make the renew work?
-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/domain.com.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Could not choose appropriate plugin: The apache plugin is not working; there may be problems with your existing configuration.
The error was: PluginError(('There has been an error in parsing the file (%s): %s', u'/etc/httpd/sites-enabled/myserver.tld-le-ssl.conf', u'Syntax error'),)
Attempting to renew cert from /etc/letsencrypt/renewal/domain.com.conf produced an unexpected error: The apache plugin is not working; there may be problems with your existing configuration.
The error was: PluginError(('There has been an error in parsing the file (%s): %s', u'/etc/httpd/sites-enabled/myserver.tld-le-ssl.conf', u'Syntax error'),). Skipping.
-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/domain2.net.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Could not choose appropriate plugin: The apache plugin is not working; there may be problems with your existing configuration.
The error was: PluginError(('There has been an error in parsing the file (%s): %s', u'/etc/httpd/sites-enabled/myserver.tld-le-ssl.conf', u'Syntax error'),)
Attempting to renew cert from /etc/letsencrypt/renewal/domain2.net.conf produced an unexpected error: The apache plugin is not working; there may be problems with your existing configuration.
The error was: PluginError(('There has been an error in parsing the file (%s): %s', u'/etc/httpd/sites-enabled/myserver.tld-le-ssl.conf', u'Syntax error'),). Skipping.