diff options
| author | Azoo224 <140733746+Azoo224@users.noreply.github.com> | 2024-11-16 14:32:16 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-16 14:32:16 +0300 |
| commit | 0a8bfc27256c79d6f18dfae50f708141080774e2 (patch) | |
| tree | 8ebcfe91785142b77ceb7af979494bdd06184444 /x-ui.sh | |
| parent | c5bbb6b632060f88c933e4cb7c951bf1808945c8 (diff) | |
Bash menu: "No Such File or Directory" While Installing Certs (#2602)
Diffstat (limited to 'x-ui.sh')
| -rw-r--r-- | x-ui.sh | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1183,8 +1183,14 @@ ssl_cert_issue_CF() { fi # Install the certificate + 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} \ - --cert-file ${certPath}/${CF_Domain}/fullchain.pem \ + --fullchain-file ${certPath}/${CF_Domain}/fullchain.pem \ --key-file ${certPath}/${CF_Domain}/privkey.pem if [ $? -ne 0 ]; then |
