VPS侦探论坛

 找回密码
 注册
查看: 3405|回复: 1

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

[复制链接]
发表于 2018-4-20 17:17:25 | 显示全部楼层 |阅读模式

军哥帮忙看下,域名是godaddy的 尝试了几次一直没成功,完整日志见附件。
  1. [Fri Apr 20 09:52:22 CST 2018] _post_url='https://api.godaddy.com/v1/domains/mini12.com/records/TXT/_acme-challenge.www'
  2. [Fri Apr 20 09:52:22 CST 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
  3. [Fri Apr 20 09:52:22 CST 2018] _ret='0'
  4. [Fri Apr 20 09:52:22 CST 2018] Add txt record error.
  5. [Fri Apr 20 09:52:22 CST 2018]
  6. [Fri Apr 20 09:52:22 CST 2018] Error add txt for domain:_acme-challenge.www.mini12.com
  7. [Fri Apr 20 09:52:22 CST 2018] pid
  8. [Fri Apr 20 09:52:22 CST 2018] No need to restore nginx, skip.
  9. [Fri Apr 20 09:52:22 CST 2018] _clearupdns
  10. [Fri Apr 20 09:52:22 CST 2018] skip dns.
  11. [Fri Apr 20 09:52:22 CST 2018] _on_issue_err
  12. [Fri Apr 20 09:52:22 CST 2018] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
  13. [Fri Apr 20 09:52:22 CST 2018] url='https://acme-v01.api.letsencrypt.org/acme/challenge/iZZGm0j0gn4xssIIFXB82mCA59EJEP7Ds3HmfXpnnTk/4298334717'
  14. [Fri Apr 20 09:52:22 CST 2018] payload='{"resource": "challenge", "keyAuthorization": "8Myv9r23_90Rl85X91iadarTPZP8JfmgNyOKR6ty50k.v0X86Qxq31amm-SNCf4GMdeMFQFiNP2bEYTw7wD3K5Q"}'
  15. [Fri Apr 20 09:52:22 CST 2018] POST
  16. [Fri Apr 20 09:52:22 CST 2018] _post_url='https://acme-v01.api.letsencrypt.org/acme/challenge/iZZGm0j0gn4xssIIFXB82mCA59EJEP7Ds3HmfXpnnTk/4298334717'
  17. [Fri Apr 20 09:52:22 CST 2018] _CURL='curl -L --silent --dump-header /usr/local/acme.sh/http.header  -g '
  18. [Fri Apr 20 09:52:23 CST 2018] _ret='0'
  19. [Fri Apr 20 09:52:23 CST 2018] code='202'
复制代码

[ 本帖最后由 xiaoyaofei 于 2018-4-23 11:29 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-4-20 20:31:06 | 显示全部楼层


不大清楚什么原因,看官网上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认证就可以
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-19 03:19 , Processed in 0.025241 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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