From c599aca63c545bc53584d704683c82927235e021 Mon Sep 17 00:00:00 2001 From: wulabing <91d$5gKrmVShheJf> Date: Thu, 26 Dec 2019 11:55:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=81=E4=B9=A6=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=AD=BE=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install.sh b/install.sh index 78c9e54..cca4137 100644 --- a/install.sh +++ b/install.sh @@ -384,6 +384,14 @@ port_exist_check(){ fi } acme(){ + ~/.acme.sh/acme.sh --issue -d ${domain} --standalone -k ec-256 --force --test + if [[ $? -eq 0 ]];then + echo -e "${OK} ${GreenBG} SSL 证书测试签发成功,开始正式签发 ${Font}" + sleep 2 + else + echo -e "${Error} ${RedBG} SSL 证书测试签发失败 ${Font}" + fi + ~/.acme.sh/acme.sh --issue -d ${domain} --standalone -k ec-256 --force if [[ $? -eq 0 ]];then echo -e "${OK} ${GreenBG} SSL 证书生成成功 ${Font}" @@ -735,14 +743,17 @@ menu(){ 3) read -p "请输入UUID:" UUID modify_UUID + start_process_systemd ;; 4) read -p "请输入alterID:" alterID modify_alterid + start_process_systemd ;; 5) read -p "请输入连接端口:" port modify_nginx_port + start_process_systemd ;; 6) show_access_log