mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-11 20:50:06 +00:00
update CF_ssl func
This commit is contained in:
parent
b80f0ab4df
commit
5bcaa7e8f5
1 changed files with 4 additions and 0 deletions
4
x-ui.sh
4
x-ui.sh
|
@ -1184,6 +1184,10 @@ ssl_cert_issue_CF() {
|
||||||
|
|
||||||
# Install the certificate
|
# Install the certificate
|
||||||
mkdir -p ${certPath}/${CF_Domain}
|
mkdir -p ${certPath}/${CF_Domain}
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
LOGE "Failed to create directory: ${certPath}/${CF_Domain}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
~/.acme.sh/acme.sh --installcert -d ${CF_Domain} -d *.${CF_Domain} \
|
~/.acme.sh/acme.sh --installcert -d ${CF_Domain} -d *.${CF_Domain} \
|
||||||
--fullchain-file ${certPath}/${CF_Domain}/fullchain.pem \
|
--fullchain-file ${certPath}/${CF_Domain}/fullchain.pem \
|
||||||
|
|
Loading…
Reference in a new issue