军哥,帮忙看下letsencrypt的新型错误是怎么回事
错误提示如下:An unexpected error occurred:
ConnectionError: HTTPSConnectionPool(host='acme-v01.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xa6ac90c>: Failed to establish a new connection: Temporary failure in name resolution',)) 看上去貌似是重试次数过多?
但我这次是对新域名在另一个IP上首次进行letsencrypt的。该IP在18号晚曾经一次通过成功生成另一个域名的证书,本次是在该IP第二次运行certbot-auto,为新域名生成证书,失败了
[ 本帖最后由 yanqzh 于 2016-11-21 09:25 编辑 ] 在上面错误显示之前,还有这样的信息:
Version: 1.1-20080819
/root/.local/share/letsencrypt/lib/python2.6/site-packages/dialog.py:779: DeprecationWarning: the DIALOG_OK attribute of Dialog instances is obsolete; use the Dialog.OK class attribute instead.
DeprecationWarning)
vi /var/log/letsencrypt/letsencrypt.log得到如下信息:
2016-11-21 01:05:00,869:DEBUG:certbot.main:Root logging level set at 20
2016-11-21 01:05:00,870:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-11-21 01:05:00,878:DEBUG:certbot.main:certbot version: 0.9.3
2016-11-21 01:05:00,878:DEBUG:certbot.main:Arguments: ['--email', 'admin@aaaaaa.com', '--agree-tos', '--webroot', '-w', '/home/wwwroot/wwwwww', '-d', 'aaaaaa.com', '-d', 'www.aaaaaa.com', '-d', 'beijing.aaaaaa.com', '-d', 'gd.aaaaaa.com', '-d', 'zhongyuan.aaaaaa.com', '-d', 'dongbu.aaaaaa.com', '-d', 'dongnan.aaaaaa.com', '-d', 'un.aaaaaa.com', '-d', 'li.aaaaaa.com', '-d', 'yue.aaaaaa.com', '-d', 'shufa.aaaaaa.com', '-d', 'hua.aaaaaa.com', '-d', 'kaogu.aaaaaa.com', '-d', 'dao.aaaaaa.com', '-d', 'ru.aaaaaa.com', '-d', 'fa.aaaaaa.com', '-d', 'yi.aaaaaa.com', '-d', 'zhuzi.aaaaaa.com', '-d', 'hanfu.aaaaaa.com', '-d', 'hfyd.aaaaaa.com', '-d', 'renwu.aaaaaa.com', '-d', 'zongzu.aaaaaa.com', '-d', 'jieri.aaaaaa.com', '-d', 'xinan.aaaaaa.com', '-d', 'xibu.aaaaaa.com', '-d', 'xibei.aaaaaa.com', '-d', 'dongbei.aaaaaa.com', '-d', 'plsg.aaaaaa.com', '-d', 'guangzhou.aaaaaa.com', '-d', 'shenzhen.aaaaaa.com', '-d', 'zhanjiang.aaaaaa.com', '-d', 'shaoguan.aaaaaa.com', '-d', 'home.aaaaaa.com', '-d', 'm.aaaaaa.com']
2016-11-21 01:05:00,879:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#nginx,PluginEntryPoint#standalone,PluginEntryPoint#manual,PluginEntryPoint#webroot,PluginEntryPoint#apache,PluginEntryPoint#null)
2016-11-21 01:05:00,901:DEBUG:certbot.plugins.selection:Requested authenticator webroot and installer None
2016-11-21 01:05:00,912:DEBUG:certbot.plugins.selection:Single candidate plugin: * webroot
Description: Place files in webroot directory
Interfaces: IAuthenticator, IPlugin
Entry point: webroot = certbot.plugins.webroot:Authenticator
Initialized: <certbot.plugins.webroot.Authenticator object at 0xa036d0c>
Prep: True
2016-11-21 01:05:00,912:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.webroot.Authenticator object at 0xa036d0c> and installer None
2016-11-21 01:05:01,343:DEBUG:certbot.main:Picked account: <Account(b8774fc1f7242133802797cfd251f7dd)>
2016-11-21 01:05:01,345:DEBUG:root:Sending GET request to https://acme-v01.api.letsencrypt.org/directory. args: (), kwargs: {}
2016-11-21 01:05:01,383:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2016-11-21 01:05:01,457:DEBUG:certbot.main:Exiting abnormally:
Traceback (most recent call last):
File "/root/.local/share/letsencrypt/bin/letsencrypt", line 11, in <module>
sys.exit(main())
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/main.py", line 776, in main
return config.func(config, plugins)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/main.py", line 558, in obtain_cert
le_client = _init_le_client(config, auth, installer)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/main.py", line 375, in _init_le_client
return client.Client(config, acc, authenticator, installer, acme=acme)
File "/root/.local/share/letsencrypt/lib/python2.6/site-packages/certbot/client.py", line 190, in __init__ 1楼上有次数过多和域名无法解析的错误
3楼这个不大清楚,建议letsencrypt官方反馈看看 18号用certbot-auto为bbbbbbbbbb.com生成证书成功,一次过的。
今天运行certbot-auto,仅仅为aaaaaaaaa.com生成证书,并没有带上bbbbbbbbbb.com一起玩,是否与此有关?
今天运行certbot-auto命令如下:
./certbot-auto certonly --email admin@aaaaaa.com --agree-tos --webroot -w /home/wwwroot/wwwww -d aaaaaa.com -d www.aaaaaa.com -d beijing.aaaaaa.com -d gd.aaaaaa.com -d zhongyuan.aaaaaa.com -d dongbu.aaaaaa.com -d dongnan.aaaaaa.com -d un.aaaaaa.com -d li.aaaaaa.com -d yue.aaaaaa.com -d shufa.aaaaaa.com -d hua.aaaaaa.com -d kaogu.aaaaaa.com -d dao.aaaaaa.com -d ru.aaaaaa.com -d fa.aaaaaa.com -d yi.aaaaaa.com -d zhuzi.aaaaaa.com -d hanfu.aaaaaa.com -d hfyd.aaaaaa.com -d renwu.aaaaaa.com -d zongzu.aaaaaa.com -d jieri.aaaaaa.com -d xinan.aaaaaa.com -d xibu.aaaaaa.com -d xibei.aaaaaa.com -d dongbei.aaaaaa.com -d plsg.aaaaaa.com -d guangzhou.aaaaaa.com -d shenzhen.aaaaaa.com -d zhanjiang.aaaaaa.com -d shaoguan.aaaaaa.com -d home.aaaaaa.com -d m.aaaaaa.com
并没有为bbbbbbbbbb.com重发证书 和bbb.com没关系
好像没重新签发的参数,可以加 --force-renew 试试,不行去他们官网问问
页:
[1]