xray-0.0.3

[bugfix] 自签证书权限问题
pull/318/head
wulabing 2021-02-15 12:54:06 +08:00
parent 393536f3a9
commit 993a73525d
No known key found for this signature in database
GPG Key ID: 213391AFDF73AE00
1 changed files with 3 additions and 0 deletions

View File

@ -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() {