update CF_ssl func

This commit is contained in:
Azoo224 2024-11-16 17:31:34 +08:00
parent c5bbb6b632
commit b80f0ab4df

View file

@ -1183,8 +1183,10 @@ ssl_cert_issue_CF() {
fi fi
# Install the certificate # Install the certificate
mkdir -p ${certPath}/${CF_Domain}
~/.acme.sh/acme.sh --installcert -d ${CF_Domain} -d *.${CF_Domain} \ ~/.acme.sh/acme.sh --installcert -d ${CF_Domain} -d *.${CF_Domain} \
--cert-file ${certPath}/${CF_Domain}/fullchain.pem \ --fullchain-file ${certPath}/${CF_Domain}/fullchain.pem \
--key-file ${certPath}/${CF_Domain}/privkey.pem --key-file ${certPath}/${CF_Domain}/privkey.pem
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then