From 1f1c7c4cd2beeb961942640ca883abf22f0f7cc7 Mon Sep 17 00:00:00 2001 From: wcsyzj <64069881+wcsyzj@users.noreply.github.com> Date: Sun, 23 Jan 2022 20:26:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8acme()=E4=B8=AD=E6=B7=BB=E5=8A=A0"--in?= =?UTF-8?q?secure"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决SSL 证书测试签发失败的问题 https://github.com/wulabing/V2Ray_ws-tls_bash_onekey/issues/14 https://github.com/wulabing/V2Ray_ws-tls_bash_onekey/issues/9 老问题,之前也是我提交的 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 7cae9354..fb0c57d5 100644 --- a/install.sh +++ b/install.sh @@ -379,7 +379,7 @@ function acme() { sed -i "6a\\\troot $website_dir;" "$nginx_conf" systemctl restart nginx - if "$HOME"/.acme.sh/acme.sh --issue -d "${domain}" --webroot "$website_dir" -k ec-256 --force; then + if "$HOME"/.acme.sh/acme.sh --issue --insecure -d "${domain}" --webroot "$website_dir" -k ec-256 --force; then print_ok "SSL 证书生成成功" sleep 2 if "$HOME"/.acme.sh/acme.sh --installcert -d "${domain}" --fullchainpath /ssl/xray.crt --keypath /ssl/xray.key --reloadcmd "systemctl restart xray" --ecc --force; then