1
0
mirror of synced 2025-02-14 19:13:16 +03:00

Update docs

This commit is contained in:
hwdsl2 2020-06-11 01:37:47 -05:00
parent cf2ed17ae6
commit 50ac87c7b3
2 changed files with 6 additions and 6 deletions

View File

@ -206,10 +206,10 @@ wget https://git.io/ikev2setup -O ikev2.sh && sudo bash ikev2.sh
指定一个安全的密码以保护导出的 `.p12` 文件(在导入到 iOS 或 macOS 设备时,该密码不能为空)。 指定一个安全的密码以保护导出的 `.p12` 文件(在导入到 iOS 或 macOS 设备时,该密码不能为空)。
1. (适用于 iOS 客户端) 导出 CA 证书到 `vpnca.cer` 1. (适用于 iOS 客户端) 导出 CA 证书到 `ikev2vpnca.cer`
```bash ```bash
certutil -L -d sql:/etc/ipsec.d -n "IKEv2 VPN CA" -a -o vpnca.cer certutil -L -d sql:/etc/ipsec.d -n "IKEv2 VPN CA" -a -o ikev2vpnca.cer
``` ```
1. 证书数据库现在应该包含以下内容: 1. 证书数据库现在应该包含以下内容:
@ -316,7 +316,7 @@ wget https://git.io/ikev2setup -O ikev2.sh && sudo bash ikev2.sh
### iOS ### iOS
首先,将文件 `vpnca.cer` 和 `vpnclient.p12` 安全地传送到你的 iOS 设备,并且逐个导入为 iOS 配置描述文件。要传送文件,你可以使用: 首先,将文件 `ikev2vpnca.cer` 和 `vpnclient.p12` 安全地传送到你的 iOS 设备,并且逐个导入为 iOS 配置描述文件。要传送文件,你可以使用:
1. AirDrop (隔空投送),或者 1. AirDrop (隔空投送),或者
1. 将文件上传到设备,在 "文件" 应用程序中单击它们,然后到 "设置" 中导入,或者 1. 将文件上传到设备,在 "文件" 应用程序中单击它们,然后到 "设置" 中导入,或者

View File

@ -206,10 +206,10 @@ The following example shows how to manually configure IKEv2 with Libreswan. Comm
Enter a secure password to protect the exported `.p12` file (when importing into an iOS or macOS device, this password cannot be empty). Enter a secure password to protect the exported `.p12` file (when importing into an iOS or macOS device, this password cannot be empty).
1. (For iOS clients) Export the CA certificate as `vpnca.cer`: 1. (For iOS clients) Export the CA certificate as `ikev2vpnca.cer`:
```bash ```bash
certutil -L -d sql:/etc/ipsec.d -n "IKEv2 VPN CA" -a -o vpnca.cer certutil -L -d sql:/etc/ipsec.d -n "IKEv2 VPN CA" -a -o ikev2vpnca.cer
``` ```
1. The database should now contain: 1. The database should now contain:
@ -316,7 +316,7 @@ First, securely transfer `vpnclient.p12` to your Mac, then double-click to impor
### iOS ### iOS
First, securely transfer both `vpnca.cer` and `vpnclient.p12` to your iOS device, then import them one by one as iOS profiles. To transfer the files, you may use: First, securely transfer both `ikev2vpnca.cer` and `vpnclient.p12` to your iOS device, then import them one by one as iOS profiles. To transfer the files, you may use:
1. AirDrop, or 1. AirDrop, or
1. Upload the files to your device, tap them in the "Files" app, then go to "Settings" and import, or 1. Upload the files to your device, tap them in the "Files" app, then go to "Settings" and import, or