VPS侦探论坛

 找回密码
 注册
查看: 204|回复: 2

dnspod泛域名ssl续期失败

[复制链接]
发表于 2020-5-14 13:01:06 | 显示全部楼层 |阅读模式



dnspod泛域名ssl续期失败以下是相关日志,请求军哥帮助

  1. [Tue Apr 14 00:00:17 CST 2020] uri='https://acme-v02.api.letsencrypt.org/acme/chall-v3/3937665112/jycKkA'
  2. [Tue Apr 14 00:00:17 CST 2020] keyauthorization='A6RxjYcyBr3NkEUDAd-36h3orwg5aQFCbeu38DmlwUk.gdF1BN38AiMUKhV5YKalCDxjJ9d6AzpyvCB_axWjvA4'
  3. [Tue Apr 14 00:00:17 CST 2020] dvlist='*.xxx.com#A6RxjYcyBr3NkEUDAd-36h3orwg5aQFCbeu38DmlwUk.gdF1BN38AiMUKhV5YKalCDxjJ9d6AzpyvCB_axWjvA4#https://acme-v02.api.letsencrypt.org/acme/chall-v3/3937665112/jycKkA#dns-01#dns_dp'
  4. [Tue Apr 14 00:00:17 CST 2020] d
  5. [Tue Apr 14 00:00:17 CST 2020] vlist='xxx.com#_ZTfR5md6eh8BKtVY2ZBE3XVFL2sRCCN7mtCHHLk9sg.gdF1BN38AiMUKhV5YKalCDxjJ9d6AzpyvCB_axWjvA4#https://acme-v02.api.letsencrypt.org/acme/chall-v3/3937665114/Ro_Hnw#dns-01#dns_dp,*.xxx.com#A6RxjYcyBr3NkEUDAd-36h3orwg5aQFCbeu38DmlwUk.gdF1BN38AiMUKhV5YKalCDxjJ9d6AzpyvCB_axWjvA4#https://acme-v02.api.letsencrypt.org/acme/chall-v3/3937665112/jycKkA#dns-01#dns_dp,'
  6. [Tue Apr 14 00:00:17 CST 2020] d='xxx.com'
  7. [Tue Apr 14 00:00:17 CST 2020] _d_alias
  8. [Tue Apr 14 00:00:17 CST 2020] txtdomain='_acme-challenge.xxx.com'
  9. [Tue Apr 14 00:00:17 CST 2020] txt='j7VXiRpOdCZh6pS2ss0LWlmFRtYgnEMD3leDabFBIgg'
  10. [Tue Apr 14 00:00:17 CST 2020] d_api='/usr/local/acme.sh/dnsapi/dns_dp.sh'
  11. [Tue Apr 14 00:00:17 CST 2020] Found domain api file: /usr/local/acme.sh/dnsapi/dns_dp.sh
  12. [Tue Apr 14 00:00:17 CST 2020] First detect the root zone
  13. [Tue Apr 14 00:00:17 CST 2020] Domain.Info
  14. [Tue Apr 14 00:00:17 CST 2020] url='https://dnsapi.cn/Domain.Info'
  15. [Tue Apr 14 00:00:17 CST 2020] POST
  16. [Tue Apr 14 00:00:17 CST 2020] _post_url='https://dnsapi.cn/Domain.Info'
  17. [Tue Apr 14 00:00:17 CST 2020] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
  18. [Tue Apr 14 00:00:18 CST 2020] _ret='0'
  19. [Tue Apr 14 00:00:18 CST 2020] Domain.Info
  20. [Tue Apr 14 00:00:18 CST 2020] url='https://dnsapi.cn/Domain.Info'
  21. [Tue Apr 14 00:00:18 CST 2020] POST
  22. [Tue Apr 14 00:00:18 CST 2020] _post_url='https://dnsapi.cn/Domain.Info'
  23. [Tue Apr 14 00:00:18 CST 2020] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
  24. [Tue Apr 14 00:00:18 CST 2020] _ret='0'
  25. [Tue Apr 14 00:00:18 CST 2020] invalid domain
  26. [Tue Apr 14 00:00:18 CST 2020] Error add txt for domain:_acme-challenge.xxx.com
  27. [Tue Apr 14 00:00:18 CST 2020] _on_issue_err
  28. [Tue Apr 14 00:00:18 CST 2020] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
复制代码



美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-5-14 14:52:47 | 显示全部楼层


/usr/local/acme.sh/acme.sh --upgrade 先升级一下
然后手动续期看一下是否正常 /usr/local/acme.sh/acme.sh --cron --home "/usr/local/acme.sh"
检查看一下dnspod后台api是否开启了白名单
还不行的话按反馈必读要求发一下日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-5-14 15:36:55 | 显示全部楼层



本帖最后由 kiddyu 于 2020-5-14 15:43 编辑
licess 发表于 2020-5-14 14:52
/usr/local/acme.sh/acme.sh --upgrade 先升级一下
然后手动续期看一下是否正常 /usr/local/acme.sh/acme.s ...

已经解决,问题是因为dnspod吃饱了撑的把返回信息的message改成了中文,脚本里都是按照英文判断的。
看了下最新的升级脚本还是有问题
贴一下修改
/usr/local/acme.sh/dnsapi/dns_dp.sh
78行左右的 _contains "$response" "Action completed successful" 结尾添加  || _contains "$response" 'code":"1"'

96行左右的_contains "$response" "Action completed successful" || _contains "$response" "Domain record already exists" 结尾添加 || _contains "$response" 'code":"1"'  || _contains "$response" 'code":"104"'

120行左右的 if _contains "$response" "Action completed successful"; then 修改为 if _contains "$response" "Action completed successful" || _contains "$response" 'code":"1"'; then
-----------最新更新-----------
官方脚本实际已经解决,没有注意看,直接用官方的就可以- -
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2020-5-30 09:37 , Processed in 0.043812 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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