acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
38.26k stars 4.89k forks source link

安装证书成功后 install-cert 失败 #5154

Open zhanxiaox opened 3 months ago

zhanxiaox commented 3 months ago

Steps to reproduce

install-cert 失败 Debug log

[Tue May 21 14:54:42 CST 2024] Running cmd: installcert [Tue May 21 14:54:42 CST 2024] Using config home:/root/.acme.sh [Tue May 21 14:54:42 CST 2024] default_acme_server [Tue May 21 14:54:42 CST 2024] ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90' [Tue May 21 14:54:42 CST 2024] _ACME_SERVER_HOST='acme.zerossl.com'xxx [Tue May 21 14:54:42 CST 2024] _ACME_SERVER_PATH='v2/DV90' [Tue May 21 14:54:42 CST 2024] The domain 'xxx.com' seems to have a ECC cert already, lets use ecc cert. [Tue May 21 14:54:42 CST 2024] DOMAIN_PATH='/root/.acme.sh/xxx.com_ecc' [Tue May 21 14:54:42 CST 2024] Installing key to: /etc/letsencrypt/xxx.com/private.pem touch: cannot touch ‘/etc/letsencrypt/live/xxx.com/private.pem’: No such file or directory

acme.sh  --issue .....   --debug 2
github-actions[bot] commented 3 months ago

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.