当前位置:论坛首页 > Linux面板 > 求助

Let's encrypt 一直提示『正在校验域名,请稍后..』(附日志)

发表在 Linux面板2018-1-19 00:43 [复制链接] 2 4871

本帖最后由 frederic 于 2018-1-19 01:23 编辑

在面板申请Let's encrypt 时,一直转圈提示『正在校验域名,请稍后..』,在/var/log/letsencrypt/letsencrypt.log可以看到如下日志及错误信息:
  1. 2018-01-18 16:29:46,876:DEBUG:certbot.main:certbot version: 0.21.0
  2. 2018-01-18 16:29:46,876:DEBUG:certbot.main:Arguments: ['-n']
  3. 2018-01-18 16:29:46,876:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
  4. 2018-01-18 16:29:46,899:DEBUG:certbot.log:Root logging level set at 20
  5. 2018-01-18 16:29:46,899:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
  6. 2018-01-18 16:29:46,900:DEBUG:certbot.plugins.selection:Requested authenticator None and installer None
  7. 2018-01-18 16:29:46,900:DEBUG:certbot.log:Exiting abnormally:
  8. Traceback (most recent call last):
  9.   File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 11, in <module>
  10.     sys.exit(main())
  11.   File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py", line 1240, in main
  12.     return config.func(config, plugins)
  13.   File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py", line 981, in run
  14.     installer, authenticator = plug_sel.choose_configurator_plugins(config, plugins, "run")
  15.   File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/plugins/selection.py", line 189, in choose_configurator_plugins
  16.     authenticator = installer = pick_configurator(config, req_inst, plugins)
  17.   File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/plugins/selection.py", line 25, in pick_configurator
  18.     (interfaces.IAuthenticator, interfaces.IInstaller))
  19.   File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/plugins/selection.py", line 67, in pick_plugin
  20.     "Missing command line flags. For non-interactive execution, "
  21. MissingCommandlineFlag: Missing command line flags. For non-interactive execution, you will need to specify a plugin on the command line.  Run with '--help plugins' to see a list of options, and see https://eff.org/letsencrypt-plugins for more detail on what the plugins do and how to use them.
复制代码
操作系统版本是CentOS 7
内核:4.14.14-1.el7.elrepo.x86_64
使用道具 举报 只看该作者 回复
发表于 2018-1-19 00:49:27 | 显示全部楼层
在网上搜索后尝试:
  1. wget -O /www/server/panel/certbot-auto http://download.bt.cn/install/certbot-auto.init -T 5
  2. chmod +x /www/server/panel/certbot-auto && /www/server/panel/certbot-auto -n
复制代码


失败。第二步的时候还是提示Missing command line flags.,附全部输出如下:

  1. Bootstrapping dependencies for RedHat-based OSes...
  2. yum is /usr/bin/yum
  3. Loaded plugins: fastestmirror
  4. Loading mirror speeds from cached hostfile
  5. * base: centos.s.uw.edu
  6. * elrepo: hkg.mirror.rackspace.com
  7. * epel: mirrors.cat.pdx.edu
  8. * extras: mirrors.cat.pdx.edu
  9. * updates: mirrors.cat.pdx.edu
  10. Package gcc-4.8.5-16.el7_4.1.x86_64 already installed and latest version
  11. Package augeas-libs-1.4.0-2.el7_4.2.x86_64 already installed and latest version
  12. Package 1:openssl-1.0.2k-8.el7.x86_64 already installed and latest version
  13. Package 1:openssl-devel-1.0.2k-8.el7.x86_64 already installed and latest version
  14. Package libffi-devel-3.0.13-18.el7.x86_64 already installed and latest version
  15. Package redhat-rpm-config-9.1.0-76.el7.centos.noarch already installed and latest version
  16. Package ca-certificates-2017.2.14-71.el7.noarch already installed and latest version
  17. Package python-2.7.5-58.el7.x86_64 already installed and latest version
  18. Package python-devel-2.7.5-58.el7.x86_64 already installed and latest version
  19. Package python-virtualenv-1.10.1-4.el7.noarch already installed and latest version
  20. Package python-tools-2.7.5-58.el7.x86_64 already installed and latest version
  21. Package python2-pip-8.1.2-5.el7.noarch already installed and latest version
  22. Nothing to do
  23. Upgrading certbot-auto 0.12.0 to 0.21.0...
  24. Replacing certbot-auto...
  25. Saving debug log to /var/log/letsencrypt/letsencrypt.log
  26. Missing command line flags. For non-interactive execution, you will need to specify a plugin on the command line.  Run with '--help plugins' to see a list of options, and see https://eff.org/letsencrypt-plugins for more detail on what the plugins do and how to use them.
复制代码



另外一个信息是:我是 Python 开发者,在服务器上安装了 pyenv 进行多版本管理,但没有修改默认版本 python,所以应该和此问题无关
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表