From 607fc5978e31866c137b2533d34761203b91e8a6 Mon Sep 17 00:00:00 2001 From: lsy Date: Mon, 23 Sep 2024 02:14:33 +0800 Subject: [PATCH] =?UTF-8?q?acme=E6=9B=B4=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/Other/Acme.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Config/Other/Acme.sh b/Config/Other/Acme.sh index 4cd35d1..7941bef 100644 --- a/Config/Other/Acme.sh +++ b/Config/Other/Acme.sh @@ -67,8 +67,10 @@ case $pick_mode in declare domain=$( echo "$log_output" | grep "Domain:" | awk -F ": " '{print $2}') declare txt_value=$(echo "$log_output" | grep "TXT value:" | awk -F ": " '{print $2}') echo "请到dns系统解析TXT记录" - echo "域名: $domain" - echo "文本记录: $txt_value" + echo "名称: " + echo $domain + echo "文本记录:" + echo $txt_value read -p "解析完成请输入 y:" pick if [[ $pick =~ [Yy] ]]; then eval "${HOME}/.acme.sh/acme.sh --renew $domain_str --yes-I-know-dns-manual-mode-enough-go-ahead-please" @@ -86,10 +88,6 @@ case $pick_mode in exit fi read -p "请输入cloudflare的密钥:" CF_Key - if [[ ! $CF_Key =~ \w+ ]];then - echo "密钥不合法" - exit - fi export CF_Key=$CF_Key export CF_Email=$CF_Email eval "${HOME}/.acme.sh/acme.sh --issue $domain_str --dns dns_cf"