Running Debian 8, installed certbot via backport, using Apache plugin, have root access.
Initially created a certificate for foo.com and www.foo.com, which worked well. Everything, actually, went well
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
self._initialized.prepare()
File â/usr/lib/python2.7/dist-packages/certbot_apache/configurator.pyâ, line 190, in prepare
self.check_parsing_errors(âhttpd.augâ)
File â/usr/lib/python2.7/dist-packages/certbot_apache/augeas_configurator.pyâ, line 74, in check_parsing_errors
raise errors.PluginError(msg)
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â),)
myServer:/etc/ssl/certs#
Now what?