My domain is: physworx.com
I ran this command: sudo certbot --apache
It produced this output: Saving debug log to /var/log/letsencrypt/letsencrypt.log
The apache plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError(‘Could not find configuration root’)
In addition, initially “apache2ctl” could not be found. I had to make a symlink in /usr/local/bin as per below:
apache2ctl -> /usr/bin/apachectl
My web server is (include version): Apache/2.4.41 (Unix) OpenSSL/1.1.1d
The operating system my web server runs on is (include version): Intel Clear Linux version 32380
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): certbot 1.0.0
Full output from /var/log/letsencrypt/letsencrypt.log:
2020-02-22 09:40:23,150:DEBUG:certbot._internal.main:certbot version: 1.0.0
2020-02-22 09:40:23,151:DEBUG:certbot._internal.main:Arguments: [’–apache’]
2020-02-22 09:40:23,151:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#certbot-route53:auth,PluginEntryPoint#dns-cloudflare,PluginEntryPoint#dns-cloudxns,PluginEntryPoint#dns-digitalocean,PluginEntryPoint#dns-dnsimple,PluginEntryPoint#dns-dnsmadeeasy,PluginEntryPoint#dns-gehirn,PluginEntryPoint#dns-google,PluginEntryPoint#dns-linode,PluginEntryPoint#dns-luadns,PluginEntryPoint#dns-nsone,PluginEntryPoint#dns-ovh,PluginEntryPoint#dns-rfc2136,PluginEntryPoint#dns-route53,PluginEntryPoint#dns-sakuracloud,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2020-02-22 09:40:23,166:DEBUG:certbot._internal.log:Root logging level set at 20
2020-02-22 09:40:23,166:INFO:certbot._internal.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2020-02-22 09:40:23,167:DEBUG:certbot._internal.plugins.selection:Requested authenticator apache and installer apache
2020-02-22 09:40:23,241:DEBUG:certbot_apache._internal.configurator:Apache version is 2.4.41
2020-02-22 09:40:23,335:DEBUG:certbot._internal.plugins.disco:No installation (PluginEntryPoint#apache): Could not find configuration root
Traceback (most recent call last):
File “/usr/lib/python3.8/site-packages/certbot/_internal/plugins/disco.py”, line 130, in prepare
self._initialized.prepare()
File “/usr/lib/python3.8/site-packages/certbot_apache/_internal/configurator.py”, line 251, in prepare
self.parser = self.get_parser()
File “/usr/lib/python3.8/site-packages/certbot_apache/_internal/configurator.py”, line 344, in get_parser
return parser.ApacheParser(
File “/usr/lib/python3.8/site-packages/certbot_apache/_internal/parser.py”, line 61, in init
self.loc = {“root”: self._find_config_root()}
File “/usr/lib/python3.8/site-packages/certbot_apache/_internal/parser.py”, line 984, in _find_config_root
raise errors.NoInstallationError(“Could not find configuration root”)
certbot.errors.NoInstallationError: Could not find configuration root
2020-02-22 09:40:23,336:DEBUG:certbot._internal.plugins.selection:No candidate plugin
2020-02-22 09:40:23,336:DEBUG:certbot._internal.plugins.selection:Selected authenticator None and installer None