From 993a73525d042b8901db546dbd8e0b426c7cb50c Mon Sep 17 00:00:00 2001 From: wulabing Date: Mon, 15 Feb 2021 12:54:06 +0800 Subject: [PATCH] xray-0.0.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [bugfix] 自签证书权限问题 --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 94bc009..2bd3a4e 100644 --- a/install.sh +++ b/install.sh @@ -341,6 +341,9 @@ generate_certificate() { rm -rf server.csr [[ ! -f "$cert_dir/self_signed_cert.pem" || ! -f "$cert_dir/self_signed_key.pem" ]] && print_error "生成自签名证书失败" print_ok "生成自签名证书成功" + + chown nobody.nobody $cert_dir/self_signed_cert.pem + chown nobody.nobody $cert_dir/self_signed_key.pem } function configure_web() {