VPS侦探论坛

 找回密码
 注册
查看: 1183|回复: 8

军哥今天证书续签 出现这个错误

[复制链接]
发表于 2023-3-26 00:54:15 | 显示全部楼层 |阅读模式


[Sun Mar 26 00:47:08 CST 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
[Sun Mar 26 00:47:08 CST 2023] Can not init api for: https://acme-v02.api.letsencrypt.org/directory.
[Sun Mar 26 00:47:08 CST 2023] Sleep 10 and retry.
[Sun Mar 26 00:47:24 CST 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
[Sun Mar 26 00:47:24 CST 2023] Can not init api for: https://acme-v02.api.letsencrypt.org/directory.
[Sun Mar 26 00:47:24 CST 2023] Sleep 10 and retry.
[Sun Mar 26 00:47:43 CST 2023] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Sun Mar 26 00:47:43 CST 2023] Multi domain='DNS:www.XXX.com,XXX.com'
[Sun Mar 26 00:47:43 CST 2023] Getting domain auth token for each domain
[Sun Mar 26 00:48:00 CST 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
[Sun Mar 26 00:48:00 CST 2023] Getting webroot for domain='www.XXX.com'
[Sun Mar 26 00:48:00 CST 2023] Getting webroot for domain='XXX.com'
[Sun Mar 26 00:48:00 CST 2023] get to authz error.
[Sun Mar 26 00:48:00 CST 2023] _authorizations_map=',
www.XXX.com,{"identifier":{"type":"dns","value":"www.XXXX.com"},"status":"pending","expires":"2023-04-01T16:50:02Z","challenges":[{"type":"http-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/213932333847/d-HmrQ","token":"EsdxqgS1p4BJwe81o2xZAuAY3vo94OH4TP1QpSkr0pM"},{"type":"dns-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/213932333847/vRixWw","token":"EsdxqgS1p4BJwe81o2xZAuAY3vo94OH4TP1QpSkr0pM"},{"type":"tls-alpn-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/213932333847/KPqt8g","token":"EsdxqgS1p4BJwe81o2xZAuAY3vo94OH4TP1QpSkr0pM"}]}

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2023-3-26 01:15:02 | 显示全部楼层


有的又续签 成功 有几个又不成功
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2023-3-26 01:22:33 | 显示全部楼层

[Sun Mar 26 00:39:35 CST 2023] di='/usr/local/nginx/conf/ssl/www.XXXX.com/'
[Sun Mar 26 00:39:35 CST 2023] d='www.XXXX.com'
[Sun Mar 26 00:39:35 CST 2023] Using config home:/usr/local/acme.sh
[Sun Mar 26 00:39:35 CST 2023] ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
[Sun Mar 26 00:39:35 CST 2023] DOMAIN_PATH='/usr/local/nginx/conf/ssl/www.XXXX.com'
[Sun Mar 26 00:39:35 CST 2023] Renew: 'www.XXXX.com'
[Sun Mar 26 00:39:35 CST 2023] Le_API='https://acme-v02.api.letsencrypt.org/directory'
[Sun Mar 26 00:39:35 CST 2023] Using config home:/usr/local/acme.sh
[Sun Mar 26 00:39:35 CST 2023] ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
[Sun Mar 26 00:39:35 CST 2023] _main_domain='www.XXXX.com'
[Sun Mar 26 00:39:35 CST 2023] _alt_domains='XXXX.com'
[Sun Mar 26 00:39:35 CST 2023] Le_NextRenewTime='1678690076'
[Sun Mar 26 00:39:35 CST 2023] Using ACME_DIRECTORY: https://acme-v02.api.letsencrypt.org/directory
[Sun Mar 26 00:39:35 CST 2023] _init api for server: https://acme-v02.api.letsencrypt.org/directory
[Sun Mar 26 00:39:35 CST 2023] GET
[Sun Mar 26 00:39:35 CST 2023] url='https://acme-v02.api.letsencrypt.org/directory'
[Sun Mar 26 00:39:35 CST 2023] timeout=
[Sun Mar 26 00:39:35 CST 2023] _CURL='curl --silent --dump-header /usr/local/acme.sh/http.header  -L  -g '
[Sun Mar 26 00:39:37 CST 2023] ret='0'
[Sun Mar 26 00:39:37 CST 2023] ACME_KEY_CHANGE='https://acme-v02.api.letsencrypt.org/acme/key-change'
[Sun Mar 26 00:39:37 CST 2023] ACME_NEW_AUTHZ
[Sun Mar 26 00:39:37 CST 2023] ACME_NEW_ORDER='https://acme-v02.api.letsencrypt.org/acme/new-order'
[Sun Mar 26 00:39:37 CST 2023] ACME_NEW_ACCOUNT='https://acme-v02.api.letsencrypt.org/acme/new-acct'
[Sun Mar 26 00:39:37 CST 2023] ACME_REVOKE_CERT='https://acme-v02.api.letsencrypt.org/acme/revoke-cert'
[Sun Mar 26 00:39:37 CST 2023] ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf'
[Sun Mar 26 00:39:37 CST 2023] ACME_NEW_NONCE='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
[Sun Mar 26 00:39:37 CST 2023] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Sun Mar 26 00:39:37 CST 2023] _on_before_issue
[Sun Mar 26 00:39:37 CST 2023] _chk_main_domain='www.XXXX.com'
[Sun Mar 26 00:39:37 CST 2023] _chk_alt_domains='XXXX.com'
[Sun Mar 26 00:39:37 CST 2023] Le_LocalAddress
[Sun Mar 26 00:39:37 CST 2023] d='www.XXXX.com'
[Sun Mar 26 00:39:37 CST 2023] Check for domain='www.XXXX.com'
[Sun Mar 26 00:39:37 CST 2023] _currentRoot='/home/wwwroot/www.XXXX.com'
[Sun Mar 26 00:39:37 CST 2023] d='XXXX.com'
[Sun Mar 26 00:39:37 CST 2023] Check for domain='XXXX.com'
[Sun Mar 26 00:39:37 CST 2023] _currentRoot='/home/wwwroot/www.XXXX.com'
[Sun Mar 26 00:39:37 CST 2023] d
[Sun Mar 26 00:39:38 CST 2023] _saved_account_key_hash is not changed, skip register account.
[Sun Mar 26 00:39:38 CST 2023] Read key length:
[Sun Mar 26 00:39:38 CST 2023] _createcsr
[Sun Mar 26 00:39:38 CST 2023] Multi domain='DNS:www.XXXX.com,DNS:XXXX.com'
[Sun Mar 26 00:39:38 CST 2023] Getting domain auth token for each domain
[Sun Mar 26 00:39:38 CST 2023] d='XXXX.com'
[Sun Mar 26 00:39:38 CST 2023] d
[Sun Mar 26 00:39:38 CST 2023] url='https://acme-v02.api.letsencrypt.org/acme/new-order'
[Sun Mar 26 00:39:38 CST 2023] payload='{"identifiers": [{"type":"dns","value":"www.XXXX.com"},{"type":"dns","value":"XXXX.com"}]}'
[Sun Mar 26 00:39:38 CST 2023] RSA key
[Sun Mar 26 00:39:38 CST 2023] HEAD
[Sun Mar 26 00:39:38 CST 2023] _post_url='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
[Sun Mar 26 00:39:38 CST 2023] _CURL='curl --silent --dump-header /usr/local/acme.sh/http.header  -L  -g  -I  '
[Sun Mar 26 00:39:48 CST 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
[Sun Mar 26 00:39:48 CST 2023] _ret='6'
[Sun Mar 26 00:39:48 CST 2023] GET
[Sun Mar 26 00:39:48 CST 2023] url='https://acme-v02.api.letsencrypt.org/directory'
[Sun Mar 26 00:39:48 CST 2023] timeout=
[Sun Mar 26 00:39:48 CST 2023] _CURL='curl --silent --dump-header /usr/local/acme.sh/http.header  -L  -g '
[Sun Mar 26 00:39:54 CST 2023] ret='0'
[Sun Mar 26 00:39:54 CST 2023] POST
[Sun Mar 26 00:39:54 CST 2023] _post_url='https://acme-v02.api.letsencrypt.org/acme/new-order'
[Sun Mar 26 00:39:54 CST 2023] _CURL='curl --silent --dump-header /usr/local/acme.sh/http.header  -L  -g '
[Sun Mar 26 00:40:00 CST 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
[Sun Mar 26 00:40:00 CST 2023] _ret='6'
[Sun Mar 26 00:40:00 CST 2023] code
[Sun Mar 26 00:40:00 CST 2023] Le_LinkOrder
[Sun Mar 26 00:40:00 CST 2023] Le_OrderFinalize
[Sun Mar 26 00:40:00 CST 2023] Create new order error. Le_OrderFinalize not found.
[Sun Mar 26 00:40:00 CST 2023] pid
[Sun Mar 26 00:40:00 CST 2023] No need to restore nginx, skip.
[Sun Mar 26 00:40:00 CST 2023] _clearupdns
[Sun Mar 26 00:40:00 CST 2023] dns_entries
[Sun Mar 26 00:40:00 CST 2023] skip dns.
[Sun Mar 26 00:40:00 CST 2023] _on_issue_err
[Sun Mar 26 00:40:00 CST 2023] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
[Sun Mar 26 00:40:00 CST 2023] Return code: 1
[Sun Mar 26 00:40:00 CST 2023] Error renew www.XXXX.com.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2023-3-26 10:15:27 | 显示全部楼层



目前只看到Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6 这个提示错误

但是网站都是正常访问没有出现任何问题……具体可以麻烦军哥 看看吗~
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2023-3-26 10:31:14 | 显示全部楼层

这个提示是说Could not resolve host. The given remote host was not resolved. 无法解析主机。未解析给定的远程主机

但是机器都是正常访问,实在是搞不懂哪里出问题了

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2023-3-26 10:39:24 | 显示全部楼层

"/usr/local/acme.sh"/acme.sh --cron --home "/usr/local/acme.sh"  使用的是这个指令自动续签
 楼主| 发表于 2023-3-26 11:00:15 | 显示全部楼层

64 bytes from 172.65.32.248: icmp_seq=1 ttl=58 time=265 ms
64 bytes from 172.65.32.248: icmp_seq=2 ttl=58 time=238 ms
64 bytes from 172.65.32.248: icmp_seq=3 ttl=58 time=255 ms
64 bytes from 172.65.32.248: icmp_seq=4 ttl=58 time=207 ms
64 bytes from 172.65.32.248: icmp_seq=5 ttl=58 time=284 ms
64 bytes from 172.65.32.248: icmp_seq=6 ttl=58 time=302 ms
64 bytes from 172.65.32.248: icmp_seq=7 ttl=58 time=307 ms
64 bytes from 172.65.32.248: icmp_seq=8 ttl=58 time=320 ms
64 bytes from 172.65.32.248: icmp_seq=10 ttl=58 time=315 ms
64 bytes from 172.65.32.248: icmp_seq=11 ttl=58 time=302 ms

服务器上 ping acme-v02.api.letsencrypt.org  也是正常访问的
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2023-3-26 11:27:43 | 显示全部楼层

Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
这个error code: 6 错误是域名无法正常解析

域名没法解析的话肯定是无法访问到续期服务器进行续期操作的

机器访问用不到解析,你网站的访问也不是用的你机器上的dns解析,检查你服务器上的dns设置,看一下你机器上用dns是否可用解析 acme-v02.api.letsencrypt.org 的域名
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2023-3-26 11:45:24 | 显示全部楼层


已经解决啦,谢谢军哥

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-21 23:31 , Processed in 0.027963 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表