v2.6.2
This commit is contained in:
心隨緣動 2025-07-23 14:13:42 +08:00 committed by GitHub
parent 3f82824234
commit 44baa3e9b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -914,7 +914,7 @@ ssl_cert_issue() {
esac
if [ $? -ne 0 ]; then
LOGE "安装 socat 失败,请检查日志"
exit 1
exit 1
else
LOGI "安装 socat 成功..."
fi
@ -989,7 +989,8 @@ exit 1
;;
esac
fi
# 安装证书
# 安装证书
~/.acme.sh/acme.sh --installcert -d ${domain} \
--key-file /root/cert/${domain}/privkey.pem \
--fullchain-file /root/cert/${domain}/fullchain.pem --reloadcmd "${reloadCmd}"
@ -1094,7 +1095,8 @@ ssl_cert_issue_CF() {
else
LOGI "证书颁发成功,正在安装..."
fi
# 安装证书
# 安装证书
certPath="/root/cert/${CF_Domain}"
if [ -d "$certPath" ]; then
rm -rf ${certPath}