Ray
admin@raychinki.studio
Raychinki Studio
修复acme.sh自动更新SSL证书失败问题
修复acme.sh自动更新SSL证书失败问题

自从2020年用了acme.sh之后就没管过SSL证书的问题,直到上周突然发现证书过期了,随即强制更新证书:

/usr/local/acme.sh/acme.sh --renew -d raychinki.studio --force

更新报错,提示如下:

[Mon Nov 23 09:07:25 CST 2026] Renewing: 'raychinki.studio'
[Mon Nov 23 09:07:25 CST 2026] Renewing using Le_API=https://acme.zerossl.com/v2/DV90
[Mon Nov 23 09:07:26 CST 2026] Using CA: https://acme.zerossl.com/v2/DV90
[Mon Nov 23 09:07:27 CST 2026] No EAB credentials found for ZeroSSL, let's obtain them
[Mon Nov 23 09:07:27 CST 2026] acme.sh is using ZeroSSL as default CA now.
[Mon Nov 23 09:07:27 CST 2026] Please update your account with an email address first.
[Mon Nov 23 09:07:27 CST 2026] acme.sh --register-account -m my@example.com
[Mon Nov 23 09:07:27 CST 2026] See: https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA
[Mon Nov 23 09:07:27 CST 2026] Please check log file for more details: /usr/local/acme.sh/acme.sh.log

查了一下,发现是从acme.sh v3.0起默认CA由Let’s Encrypt改成了ZeroSSL,而ZeroSSL强制要求EAB(External Account Binding)凭证,现有的acme.sh配置里没有CA账户配置。现在只好按日志提示用真实邮箱注册,acme.sh会自动向ZeroSSL申请EAB:

/usr/local/acme.sh/acme.sh --register-account -m 真实邮箱@example.com --server zerossl

成功后再强制续期:

/usr/local/acme.sh/acme.sh --renew -d raychinki.studio --force

搞定。

Raychinki Studio

修复acme.sh自动更新SSL证书失败问题
自从2020年用了acme.sh之后就没管过SSL证书的问题,直到上周突然发现证书过期了,随即强制更新证书: /usr/local/acme.sh/acme.sh --renew -d raychinki.studio --force 更新报错,提示…
扫描二维码继续阅读
2026-11-23