feat(脚本): 添加buypass不支持dns申请通配符判断

pull/534/merge
mack-a 2022-10-12 17:36:05 +08:00
parent a3b5279f57
commit dd0251d462
1 changed files with 6 additions and 1 deletions

View File

@ -1102,7 +1102,7 @@ switchSSLType() {
echoContent red "\n=============================================================="
echoContent yellow "1.letsencrypt[默认]"
echoContent yellow "2.zerossl"
echoContent yellow "3.buypass"
echoContent yellow "3.buypass[不支持DNS申请]"
echoContent red "=============================================================="
read -r -p "请选择[回车]使用默认:" selectSSLType
case ${selectSSLType} in
@ -1131,6 +1131,11 @@ acmeInstallSSL() {
fi
echo
if [[ -n "${customPort}" ]]; then
if [[ "${selectSSLType}" == "3" ]]; then
echoContent red " ---> buypass不支持免费通配符证书"
echo
exit
fi
dnsSSLStatus=true
else
read -r -p "是否使用DNS申请证书[y/n]:" installSSLDNStatus