dnspod泛域名ssl续期失败
dnspod泛域名ssl续期失败以下是相关日志,请求军哥帮助uri='https://acme-v02.api.letsencrypt.org/acme/chall-v3/3937665112/jycKkA'
keyauthorization='A6RxjYcyBr3NkEUDAd-36h3orwg5aQFCbeu38DmlwUk.gdF1BN38AiMUKhV5YKalCDxjJ9d6AzpyvCB_axWjvA4'
dvlist='*.xxx.com#A6RxjYcyBr3NkEUDAd-36h3orwg5aQFCbeu38DmlwUk.gdF1BN38AiMUKhV5YKalCDxjJ9d6AzpyvCB_axWjvA4#https://acme-v02.api.letsencrypt.org/acme/chall-v3/3937665112/jycKkA#dns-01#dns_dp'
d
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,'
d='xxx.com'
_d_alias
txtdomain='_acme-challenge.xxx.com'
txt='j7VXiRpOdCZh6pS2ss0LWlmFRtYgnEMD3leDabFBIgg'
d_api='/usr/local/acme.sh/dnsapi/dns_dp.sh'
Found domain api file: /usr/local/acme.sh/dnsapi/dns_dp.sh
First detect the root zone
Domain.Info
url='https://dnsapi.cn/Domain.Info'
POST
_post_url='https://dnsapi.cn/Domain.Info'
_CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header-g '
_ret='0'
Domain.Info
url='https://dnsapi.cn/Domain.Info'
POST
_post_url='https://dnsapi.cn/Domain.Info'
_CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header-g '
_ret='0'
invalid domain
Error add txt for domain:_acme-challenge.xxx.com
_on_issue_err
Please check log file for more details: /usr/local/acme.sh/acme.sh.log
/usr/local/acme.sh/acme.sh --upgrade 先升级一下
然后手动续期看一下是否正常 /usr/local/acme.sh/acme.sh --cron --home "/usr/local/acme.sh"
检查看一下dnspod后台api是否开启了白名单
还不行的话按反馈必读要求发一下日志 本帖最后由 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
-----------最新更新-----------
官方脚本实际已经解决,没有注意看,直接用官方的就可以- -
页:
[1]