Running Debian 8, installed certbot via backport, using Apache plugin, have root access.
Then I tried with an IDN (not knowing it wasn’t supported), so I ran certbot with åsa.com and www.åsa.com. I was told that IDN isn’t yet supported. Fine, I can live with that and do a manual webserver re-direct for that particular domain.
Then I tried the next domain in my list, and now I cannot get certbot to work, at all. I have tried re-installing it via apt-get and aptitude, and I have tried to re-init the plugins, etc. It’s still the same error. It feels like a cache somewhere needs to be removed/refreshed, or something …
Here is the output:
myServer:/etc/ssl/certs# certbot --apache --debug -vvvv --domains thenextdomain.se,www.thenextdomain.se
Root logging level set at -20
Saving debug log to /var/log/letsencrypt/letsencrypt.log
certbot version: 0.9.3
Arguments: [’–apache’, ‘–debug’, ‘-vvvv’, ‘–domains’, ‘thenextdomain.se,www.thenextdomain.se’]
Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
Requested authenticator apache and installer apache
Other error:(PluginEntryPoint#apache): (‘There has been an error in parsing the file (%s): %s’, ‘/etc/apache2/sites-available/certbot.log’, ‘Syntax error’)
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/certbot/plugins/disco.py”, line 106, in prepare
File “/usr/lib/python2.7/dist-packages/certbot_apache/configurator.py”, line 190, in prepare
File “/usr/lib/python2.7/dist-packages/certbot_apache/augeas_configurator.py”, line 74, in check_parsing_errors
PluginError: (‘There has been an error in parsing the file (%s): %s’, ‘/etc/apache2/sites-available/certbot.log’, ‘Syntax error’)
No candidate plugin
Selected authenticator None and installer None
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’, ‘/etc/apache2/sites-available/certbot.log’, ‘Syntax error’),)