mirror of
https://github.com/hwdsl2/setup-ipsec-vpn.git
synced 2026-05-17 08:05:45 +03:00
Update docs (#1484)
- Improve syntax for "chown" command (use ":" instead of ".")
This commit is contained in:
@@ -433,7 +433,7 @@ rm vpnclient.p12
|
||||
|
||||
# (重要)保护证书和私钥文件
|
||||
# 注:这一步是可选的,但强烈推荐。
|
||||
sudo chown root.root ca.cer client.cer client.key
|
||||
sudo chown root:root ca.cer client.cer client.key
|
||||
sudo chmod 600 ca.cer client.cer client.key
|
||||
```
|
||||
|
||||
|
||||
@@ -435,7 +435,7 @@ rm vpnclient.p12
|
||||
|
||||
# (Important) Protect certificate and private key files
|
||||
# Note: This step is optional, but strongly recommended.
|
||||
sudo chown root.root ca.cer client.cer client.key
|
||||
sudo chown root:root ca.cer client.cer client.key
|
||||
sudo chmod 600 ca.cer client.cer client.key
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user