我开始按照 Ubuntu trusty + nginx的说明进行
letsencrypt.log
:
2016-10-25 20:06:06,111:DEBUG:certbot.main:Root logging level set at 20
2016-10-25 20:06:06,111:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-10-25 20:06:06,145:DEBUG:certbot.main:certbot version: 0.9.3
2016-10-25 20:06:06,145:DEBUG:certbot.main:Arguments: []
2016-10-25 20:06:06,145:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#standalone,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#webroot,PluginEntryPoint#apache,PluginEntryPoint#null)
2016-10-25 20:06:06,154:DEBUG:certbot.plugins.selection:Requested authenticator None and installer None
2016-10-25 20:06:06,192:WARNING:certbot.plugins.util:Failed to find apache2ctl in PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2016-10-25 20:06:06,199:DEBUG:certbot.plugins.disco:No installation (PluginEntryPoint#apache): Cannot find Apache control command apache2ctl
Traceback (most recent call last):
File "/home/gluten/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/disco.py", line 106, in prepare
self._initialized.prepare()
File "/home/gluten/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot_apache/configurator.py", line 168, in prepare
'Cannot find Apache control command {0}'.format(restart_cmd))
NoInstallationError: Cannot find Apache control command apache2ctl
2016-10-25 20:06:06,200:DEBUG:certbot.plugins.selection:No candidate plugin
2016-10-25 20:06:06,201:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None
这里的问题只是我们的文档不好。 运行certbot-auto
都会安装 Certbot 并运行它。 在您的情况下,Certbot 已成功安装,但在运行时遇到了问题。 这是因为对于您的用例,Certbot 需要在命令行上添加其他命令。
尝试继续按照上面链接中的“入门”说明进行操作。
我创建了 certbot/website#165 来解决我们文档中的问题。
关闭支持 certbot/website#165。
我在这里遇到了同样的问题。
大家有什么临时解决办法吗?
一切正常,现在没有任何效果🙈
最有用的评论
这里的问题只是我们的文档不好。 运行
certbot-auto
都会安装 Certbot 并运行它。 在您的情况下,Certbot 已成功安装,但在运行时遇到了问题。 这是因为对于您的用例,Certbot 需要在命令行上添加其他命令。尝试继续按照上面链接中的“入门”说明进行操作。
我创建了 certbot/website#165 来解决我们文档中的问题。