- 积分
- 6
- 威望
-
- 金钱
-
- 注册时间
- 2014-2-16
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2017-10-13 11:07:05
|
显示全部楼层
原帖由 licess 于 2017-10-13 10:19 发表
你前面这ssl都没正常生成,相关配置文件肯定都没有生成,443端口肯定也就没有
Too many invalid authorizations recently. 就是你尝试的次数超了
必须要解析ip到你允许添加ssl的这个主机上才能正确验证文件,默认显示的 ...
DNS是花生壳的DNS, 如果需要换DNS,请问有推荐的吗。我改下试试,下面是log, 谢谢军哥百忙中回答,谢谢!
- 2017-10-13 02:59:59,326:DEBUG:acme.client:Storing nonce: J0p07C3BRiRV8JZFesh-GTu37lQG3tiz3gyypZf7_o42017-10-13 03:00:02,330:DEBUG:acme.client:Sending GET request to https://acme-v01.api.letsencrypt.org/acme/authz/PPauEXZ6fp6TSmIMXjepkPCgZwTGaBtgDTfz-MSaFHM.2017-10-13 03:00:02,680:DEBUG:requests.packages.urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "GET /acme/authz/PPauEXZ6fp6TSmIMXjepkPCgZwTGaBtgDTfz-MSaFHM HTTP/1.1" 200 11092017-10-13 03:00:02,681:DEBUG:acme.client:Received response:HTTP 200Server: nginxContent-Type: application/jsonContent-Length: 1109Link: <https://acme-v01.api.letsencrypt.org/acme/new-cert>;rel="next"Replay-Nonce: Ae0Tj-8El9qugamIS6cBp8j3_EFw5cmsq5GwtgjQDvgX-Frame-Options: DENYStrict-Transport-Security: max-age=604800Expires: Fri, 13 Oct 2017 03:00:02 GMTCache-Control: max-age=0, no-cache, no-storePragma: no-cacheDate: Fri, 13 Oct 2017 03:00:02 GMTConnection: keep-alive
- { "identifier": { "type": "dns", "value": "www.camrent.cc" }, "status": "pending", "expires": "2017-10-20T02:59:58Z", "challenges": [ { "type": "dns-01", "status": "pending", "uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/PPauEXZ6fp6TSmIMXjepkPCgZwTGaBtgDTfz-MSaFHM/2193144211", "token": "w6GJLQlEpBoFSWEecl26js8_DbEFYiPJeEEsiMrGLeE" }, { "type": "http-01", "status": "pending", "uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/PPauEXZ6fp6TSmIMXjepkPCgZwTGaBtgDTfz-MSaFHM/2193144212", "token": "82cnk26eMPtjirtomDsBYycfldtGtRkeWIZMspUQV-Y", "keyAuthorization": "82cnk26eMPtjirtomDsBYycfldtGtRkeWIZMspUQV-Y.4qDzOoz-1dt3mm5aDEmrZjsyWm5-BKLjYuqPpphM6k8" }, { "type": "tls-sni-01", "status": "pending", "uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/PPauEXZ6fp6TSmIMXjepkPCgZwTGaBtgDTfz-MSaFHM/2193144213", "token": "YNDsAK5n1Mvc6Q9QRcY3d1NxkcXKC-X7dTQfdIQDyps" } ], "combinations": [ [ 0 ], [ 1 ], [ 2 ] ]}2017-10-13 03:00:05,685:DEBUG:acme.client:Sending GET request to https://acme-v01.api.letsencrypt.org/acme/authz/PPauEXZ6fp6TSmIMXjepkPCgZwTGaBtgDTfz-MSaFHM.2017-10-13 03:00:06,285:DEBUG:requests.packages.urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "GET /acme/authz/PPauEXZ6fp6TSmIMXjepkPCgZwTGaBtgDTfz-MSaFHM HTTP/1.1" 200 16002017-10-13 03:00:06,286:DEBUG:acme.client:Received response:HTTP 200Server: nginxContent-Type: application/jsonContent-Length: 1600Link: <https://acme-v01.api.letsencrypt.org/acme/new-cert>;rel="next"Replay-Nonce: 9TdwJCQS48Dfi7lNa4AN5RQPogavKGCIE99KdPQTXckX-Frame-Options: DENYStrict-Transport-Security: max-age=604800Expires: Fri, 13 Oct 2017 03:00:06 GMTCache-Control: max-age=0, no-cache, no-storePragma: no-cacheDate: Fri, 13 Oct 2017 03:00:06 GMTConnection: keep-alive
- { "identifier": { "type": "dns", "value": "www.camrent.cc" }, "status": "invalid", "expires": "2017-10-20T02:59:58Z", "challenges": [ { "type": "dns-01", "status": "pending", "uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/PPauEXZ6fp6TSmIMXjepkPCgZwTGaBtgDTfz-MSaFHM/2193144211", "token": "w6GJLQlEpBoFSWEecl26js8_DbEFYiPJeEEsiMrGLeE" }, { "type": "http-01", "status": "invalid", "error": { "type": "urn:acme:error:unknownHost", "detail": "No valid IP addresses found for www.camrent.cc", "status": 400 }, "uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/PPauEXZ6fp6TSmIMXjepkPCgZwTGaBtgDTfz-MSaFHM/2193144212", "token": "82cnk26eMPtjirtomDsBYycfldtGtRkeWIZMspUQV-Y", "keyAuthorization": "82cnk26eMPtjirtomDsBYycfldtGtRkeWIZMspUQV-Y.4qDzOoz-1dt3mm5aDEmrZjsyWm5-BKLjYuqPpphM6k8", "validationRecord": [ { "url": "http://www.camrent.cc/.well-known/acme-challenge/82cnk26eMPtjirtomDsBYycfldtGtRkeWIZMspUQV-Y", "hostname": "www.camrent.cc", "port": "80", "addressesResolved": [], "addressUsed": "", "addressesTried": [] } ] }, { "type": "tls-sni-01", "status": "pending", "uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/PPauEXZ6fp6TSmIMXjepkPCgZwTGaBtgDTfz-MSaFHM/2193144213", "token": "YNDsAK5n1Mvc6Q9QRcY3d1NxkcXKC-X7dTQfdIQDyps" } ], "combinations": [ [ 0 ], [ 1 ], [ 2 ] ]}2017-10-13 03:00:06,287:DEBUG:certbot.reporter:Reporting to user: The following errors were reported by the server:
- Domain: www.camrent.ccType: unknownHostDetail: No valid IP addresses found for www.camrent.cc
- To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.2017-10-13 03:00:06,287:INFO:certbot.auth_handler:Cleaning up challenges2017-10-13 03:00:06,287:DEBUG:certbot.plugins.webroot:Removing /home/wwwroot/camera/apps/default/public/.well-known/acme-challenge/82cnk26eMPtjirtomDsBYycfldtGtRkeWIZMspUQV-Y2017-10-13 03:00:06,288:DEBUG:certbot.plugins.webroot:All challenges cleaned up, removing /home/wwwroot/camera/apps/default/public/.well-known/acme-challenge2017-10-13 03:00:06,288:DEBUG:certbot.log:Exiting abnormally:Traceback (most recent call last): File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 11, in <module> sys.exit(main()) File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py", line 861, in main return config.func(config, plugins) File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py", line 786, in certonly lineage = _get_and_save_cert(le_client, config, domains, certname, lineage) File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py", line 85, in _get_and_save_cert lineage = le_client.obtain_and_enroll_certificate(domains, certname) File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/client.py", line 357, in obtain_and_enroll_certificate certr, chain, key, _ = self.obtain_certificate(domains) File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/client.py", line 318, in obtain_certificate self.config.allow_subset_of_names) File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/auth_handler.py", line 81, in get_authorizations self._respond(resp, best_effort) File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/auth_handler.py", line 138, in _respond self._poll_challenges(chall_update, best_effort) File "/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/auth_handler.py", line 202, in _poll_challenges raise errors.FailedChallenges(all_failed_achalls)FailedChallenges: Failed authorization procedure. www.camrent.cc (http-01): urn:acme:error:unknownHost :: The server could not resolve a domain name :: No valid IP addresses found for www.camrent.cc
复制代码
[ 本帖最后由 Tomcat 于 2017-10-13 11:10 编辑 ] |
|