v2.6.2
This commit is contained in:
心隨緣動 2025-07-23 14:50:24 +08:00 committed by GitHub
parent b8aeac2a03
commit b131d02e3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

10
x-ui.sh
View File

@ -991,9 +991,10 @@ ssl_cert_issue() {
fi
# 安装证书
~/.acme.sh/acme.sh --installcert -d ${domain} \
--key-file /root/cert/${domain}/privkey.pem \
--fullchain-file /root/cert/${domain}/fullchain.pem --reloadcmd "${reloadCmd}"
~/.acme.sh/acme.sh --installcert -d ${domain} \
--key-file /root/cert/${domain}/privkey.pem \
--fullchain-file /root/cert/${domain}/fullchain.pem \
--reloadcmd "${reloadCmd}"
if [ $? -ne 0 ]; then
LOGE "安装证书失败,正在退出。"
@ -1135,7 +1136,8 @@ ssl_cert_issue_CF() {
fi
~/.acme.sh/acme.sh --installcert -d ${CF_Domain} -d *.${CF_Domain} \
--key-file ${certPath}/privkey.pem \
--fullchain-file ${certPath}/fullchain.pem --reloadcmd "${reloadCmd}"
--fullchain-file ${certPath}/fullchain.pem \
--reloadcmd "${reloadCmd}"
if [ $? -ne 0 ]; then
LOGE "证书安装失败,脚本正在退出..."