1. 运行报错:Register account Error
具体错误
Register account Error: {"type":"urn:ietf:params:acme:error:malformed","status":400,"detail":"[External Account Binding] The JWS Signature MUST be present"}
解决方式
openssl版本过低,升级openssl即可。
2. 运行报错:Error, can not get domain token "type"
具体错误
Error, can not get domain token "type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/DQZq2pEQYdm5YsKU9Wxs_g","status":"invalid","error":{
解决方式一
切换其他CA,例如切换默认CA为Let's Encrypt:
acme.sh --set-default-ca --server letsencrypt
解决方式二
卸载acme.sh,清理acme.sh缓存信息,重装acme.sh,重新生成证书。
a. 卸载acme.sh
acme.sh –uninstall
b. 清理acme.sh缓存
cd /root/.acme.sh
rm -rf *
c. 重装acme.sh
curl https://get.acme.sh | sh -s email=my@example.com
d. 重新生成并部署证书