最近 Let'sEncrypt 证书更新显示 It seems the CA server is busy now 解决方法

Let’sEncrypt 证书 API 升级了

用的 LNMP 1.6 服务器,上个月一个 SSL 证书到期,并没有自动更新,那个郁闷了,于是试用手工更新方式:

查看 LNMP 的证书自动更新命令

crontab -l

发现了有下面这句:

38 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null

OK, 把命令(带""号哦)复制下来手工运行:

"/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh"

当然,如果有多站点的话,也可以用以下命令仅更新该站点的:

cd /usr/local/acme.sh
acme.sh --renew -d cooleasy.com

问题

然并卵,在这里就卡住了:

[Tue Sep 24 10:42:36 EEST 2019] Getting domain auth token for each domain
[Tue Sep 24 10:52:39 EEST 2019] It seems the CA server is busy now, let’s wait and retry. Sleeping 1 seconds.
[Tue Sep 24 11:02:45 EEST 2019] It seems the CA server is busy now, let’s wait and retry. Sleeping 1 seconds.

排查

根据提示,或也可以查看 log, 基本怀疑是服务器连接出了问题。于是,拖了2天再试,还是同亲在的错误提示,这不科学呀,这么知名的免费证书,多少人在用的。只好到官网看看有什么反应,原来9月份人家就升级 API CDN 接口了:

Today we have transitioned to a new CDN for the Production API. The change should already be visible worldwide. We expect that this change will not affect any client software.
We had previously made this transition for the Staging API: New CDN for the Staging API
With the new CDN, we have the opportunity to terminate TLS ourselves. The most visible change will be that the API will present a different TLS certificate. This will validate normally. We’ll also be able to make more agile ciphersuite changes in the future.
If you notice changes to API availability or behavior, please bring this to our attention here in the community forum. Thank you!

解决

因为 LNMP 的 Let’sEncrypt 证书支持,用的是 acme.sh 程序,那就得看这程序是否已经有新版升级了。
果不出所料, https://github.com/Neilpang/acme.sh 已经升级了此程序。接下来就好办了。

cd /usr/local/acme.sh
acme.sh --upgrade

升级成功!
然后继续:

acme.sh --renew -d 您的域名

更新完成!

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值