打印

1.5 一键 Let'sEncrypt SSL证书添加 问题

1.5 一键 Let'sEncrypt SSL证书添加 问题

军哥帮忙看下,域名是godaddy的 尝试了几次一直没成功,完整日志见附件。
复制内容到剪贴板
代码:
[Fri Apr 20 09:52:22 CST 2018] _post_url='https://api.godaddy.com/v1/domains/mini12.com/records/TXT/_acme-challenge.www'
[Fri Apr 20 09:52:22 CST 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
[Fri Apr 20 09:52:22 CST 2018] _ret='0'
[Fri Apr 20 09:52:22 CST 2018] Add txt record error.
[Fri Apr 20 09:52:22 CST 2018]
[Fri Apr 20 09:52:22 CST 2018] Error add txt for domain:_acme-challenge.www.mini12.com
[Fri Apr 20 09:52:22 CST 2018] pid
[Fri Apr 20 09:52:22 CST 2018] No need to restore nginx, skip.
[Fri Apr 20 09:52:22 CST 2018] _clearupdns
[Fri Apr 20 09:52:22 CST 2018] skip dns.
[Fri Apr 20 09:52:22 CST 2018] _on_issue_err
[Fri Apr 20 09:52:22 CST 2018] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
[Fri Apr 20 09:52:22 CST 2018] url='https://acme-v01.api.letsencrypt.org/acme/challenge/iZZGm0j0gn4xssIIFXB82mCA59EJEP7Ds3HmfXpnnTk/4298334717'
[Fri Apr 20 09:52:22 CST 2018] payload='{"resource": "challenge", "keyAuthorization": "8Myv9r23_90Rl85X91iadarTPZP8JfmgNyOKR6ty50k.v0X86Qxq31amm-SNCf4GMdeMFQFiNP2bEYTw7wD3K5Q"}'
[Fri Apr 20 09:52:22 CST 2018] POST
[Fri Apr 20 09:52:22 CST 2018] _post_url='https://acme-v01.api.letsencrypt.org/acme/challenge/iZZGm0j0gn4xssIIFXB82mCA59EJEP7Ds3HmfXpnnTk/4298334717'
[Fri Apr 20 09:52:22 CST 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
[Fri Apr 20 09:52:23 CST 2018] _ret='0'
[Fri Apr 20 09:52:23 CST 2018] code='202'
[ 本帖最后由 xiaoyaofei 于 2018-4-23 11:29 编辑 ]

TOP

不大清楚什么原因,看官网上godaddy的api变动过
可以执行
/usr/local/acme.sh/acme.sh --upgrade
sed -i 's/cat "\$CERT_PATH"$/#cat "\$CERT_PATH"/g' /usr/local/acme.sh/acme.sh
升级一下再试
另外你不生成泛域名的话没必要用dns的,直接 lnmp vhost add 或 lnmp ssl add 使用http认证就可以

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP