After installing cerbot, when i do ./certbot-auto i have this error 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.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
So, i go to /var/log/letsencrypt/letsencrypt.log . In this log i have :
2016-11-18 08:16:26,450:DEBUG:certbot.plugins.disco:Other error:(PluginEntryPoint#apache): ('There has been an error in parsing the$
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$
raise errors.PluginError(msg)
PluginError: ('There has been an error in parsing the file (%s): %s', u'/etc/apache2/mods-enabled/suphp.conf', u'Syntax error')
2016-11-18 08:16:26,451:DEBUG:certbot.plugins.selection:No candidate plugin
2016-11-18 08:16:26,451:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None
Do you have an idea ? I'm beginner so, i don't know what to do
Since both certbot and ISPconfig will edit / modify your apache files you need to take great care using the two together.
What version of ISPconfig are you using ? I believe from version 3.1 onwards ISPconfig includes letsencrypt within it’s scripts - so you could use that.
Alternatively you can use certbot in “certonly” mode, with webroot - and then set up a symlink from the ISPconfig SSL locations to the letsencrypt locations - and all should be good.
What command did you actually run ? did you tell it what domains to add to the certificate ?
I'm using the latest version of ISP Config (3.1.1p1).
I have tried ./path/to/certbot-auto --apache certonly and i have a new error message like this
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/apache2/mods-enabled/suphp.conf', u'Syntax error'),)
I think it is the apache config my problem, but i don't know how to repair it.
I thnik i have find, and its so so so easy !
Just go on the website config in isp and activate SSL and Let's Encrypt and activate the redirection to https and it work perfectly ! Amazing