Skip to content

Commit

Permalink
在acme()中添加"--insecure"
Browse files Browse the repository at this point in the history
解决SSL 证书测试签发失败的问题
wulabing/V2Ray_ws-tls_bash_onekey#14
wulabing/V2Ray_ws-tls_bash_onekey#9
老问题,之前也是我提交的
  • Loading branch information
wcsyzj authored Jan 23, 2022
1 parent 7756529 commit 1f1c7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f1c7c4

Please sign in to comment.