From 3a73509922fe2003c983617b26b45835d14945ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=83=E9=9A=A8=E7=B7=A3=E5=8B=95?= <88259403+xeefei@users.noreply.github.com> Date: Thu, 24 Jul 2025 15:13:13 +0800 Subject: [PATCH] v2.6.2 v2.6.2 --- x-ui.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/x-ui.sh b/x-ui.sh index 2bc0560b..eb23a1cb 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -1026,9 +1026,14 @@ ssl_cert_issue() { if [[ -f "$webCertFile" && -f "$webKeyFile" ]]; then /usr/local/x-ui/x-ui cert -webCert "$webCertFile" -webCertKey "$webKeyFile" LOGI "已为域名设置面板路径: $domain" + echo "" LOGI " - 证书文件: $webCertFile" LOGI " - 私钥文件: $webKeyFile" - echo -e "${green}登录访问面板URL: https://${domain}:${existing_port}/${existing_webBasePath}${plain}" + echo "" + echo -e "${green}登录访问面板URL: https://${domain}:${existing_port}${existing_webBasePath}${plain}" + echo "" + echo -e "${green}PS:若您要登录访问面板,请复制上面的地址到浏览器即可${plain}" + echo "" restart else LOGE "错误:未找到域名的证书或私钥文件: $domain。" @@ -1166,9 +1171,14 @@ ssl_cert_issue_CF() { if [[ -f "$webCertFile" && -f "$webKeyFile" ]]; then /usr/local/x-ui/x-ui cert -webCert "$webCertFile" -webCertKey "$webKeyFile" LOGI "已为域名设置面板路径: $CF_Domain" + echo "" LOGI " - 证书文件: $webCertFile" LOGI " - 私钥文件: $webKeyFile" - echo -e "${green}登录访问面板URL: https://${CF_Domain}:${existing_port}/${existing_webBasePath}${plain}" + echo "" + echo -e "${green}登录访问面板URL: https://${CF_Domain}:${existing_port}${existing_webBasePath}${plain}" + echo "" + echo -e "${green}PS:若您要登录访问面板,请复制上面的地址到浏览器即可${plain}" + echo "" restart else LOGE "错误:未找到域名的证书或私钥文件: $CF_Domain。"