修复acme

This commit is contained in:
lsy 2024-09-23 01:23:56 +08:00
parent ecd2ef80fd
commit fca495735f

View File

@ -9,6 +9,10 @@ if [[ ! -d "${HOME}/.acme.sh" ]];then
exit
fi
curl https://get.acme.sh | sh -s "email=$mail"
fi
declare domain_str=''
echo "请输入需要申请SSL证书的域名"
while(1);do
read -p "不输入退出添加:" domain
@ -20,11 +24,6 @@ if [[ ! -d "${HOME}/.acme.sh" ]];then
domain_str="$domain_str -d $domain"
fi
done
curl https://get.acme.sh | sh -s "email=$mail"
fi
declare domain_str=''
if [[ -z $domain_str ]]; then
echo "需要添加的域名不能为空"
exit