I have a server running Debian 7 and Plesk 12.0 and using Apache. While there is an extension for Let’s Encrypt for Plesk 12.5, there isn’t one for version 12.0. No problem, I thought, and installed “Certbot” as described here: https://certbot.eff.org/#debianwheezy-apache
After installation I get this message:
Certbot doesn't know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run "certbot-auto certonly" to do so. You'll need to manually configure your web server to use the resulting certificate.
I guess that Plesk configures Apache and/or my domains in a way, which makes it impossible for Certbot to configure the neccessary things. This is what “/var/log/letsencrypt/letsencrypt.log” says:
2016-12-04 11:04:34,095:DEBUG:certbot.main:Root logging level set at 20 2016-12-04 11:04:34,095:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log 2016-12-04 11:04:34,119:DEBUG:certbot.main:certbot version: 0.9.3 2016-12-04 11:04:34,120:DEBUG:certbot.main:Arguments:  2016-12-04 11:04:34,120:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#standalone,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#webroot,PluginEntryPoint#apache,PluginEntryPoint#null) 2016-12-04 11:04:34,122:DEBUG:certbot.plugins.selection:Requested authenticator None and installer None 2016-12-04 11:04:35,222:DEBUG:certbot.plugins.disco:Other error:(PluginEntryPoint#apache): ('There has been an error in parsing the file (%s): %s', u'/etc/apache2/modsecurity.d/rules/tortix/modsec/50_plesk_basic_asl_rules.conf', u'Synta Traceback (most recent call last): File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/disco.py", line 106, in prepare self._initialized.prepare() File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot_apache/configurator.py", line 190, in prepare self.check_parsing_errors("httpd.aug") File "/root/.local/share/letsencrypt/local/lib/python2.7/site-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', u'/etc/apache2/modsecurity.d/rules/tortix/modsec/50_plesk_basic_asl_rules.conf', u'Syntax error') 2016-12-04 11:04:35,222:DEBUG:certbot.plugins.selection:No candidate plugin 2016-12-04 11:04:35,222:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None
I don’t know whether these lines have to do anything with the above error message, but I would like to know the correct and maybe easiest way to install certificates for my domains created via Plesk. I have 13 domains on the server.
Does anyone have any experience with this special case?
Because of the fact that certificates from Let’s Encrypt expire after only three months, I would like set up the automatic renewal and so I guess I cannot install them manually in the first place.
Thanks for any replies!