Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-05-23 02:45:34 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-05-23 02:45:34 +0300
commit47ccc7b501faeac895e295e86fc4ae2aea3a31ed (patch)
tree130dde164d6ab4341a336e0c2cd73907a992275d /x-ui.sh
parentc38e1e0cfe9fd95f1cd2ed5f6c6cb10bf820b9b6 (diff)
[feature] fallback link calculation
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'x-ui.sh')
-rw-r--r--x-ui.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/x-ui.sh b/x-ui.sh
index 3592ca63..f2e18def 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -528,6 +528,7 @@ ssl_cert_issue_main() {
local domain=""
read -p "Please enter your domain name to revoke the certificate: " domain
~/.acme.sh/acme.sh --revoke -d ${domain}
+ LOGI "Certificate revoked"
;;
3)
local domain=""
@@ -571,13 +572,7 @@ ssl_cert_issue() {
local certInfo=$(~/.acme.sh/acme.sh --list)
LOGE "system already has certs here,can not issue again,current certs details:"
LOGI "$certInfo"
- read -p "Do you want to revoke the existing certificate? (yes/no): " choice
- if [ "$choice" == "yes" ]; then
- ~/.acme.sh/acme.sh --revoke -d ${domain}
- LOGI "Certificate revoked"
- else
- exit 1
- fi
+ exit 1
else
LOGI "your domain is ready for issuing cert now..."
fi