From be97a0e226b3f7386c330d485bef6140ca8639a9 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Wed, 6 Apr 2022 22:52:19 -0500 Subject: [PATCH] Update docs --- docs/ikev2-howto-zh.md | 7 +++++++ docs/ikev2-howto.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/docs/ikev2-howto-zh.md b/docs/ikev2-howto-zh.md index e1c6c08..1550a1d 100644 --- a/docs/ikev2-howto-zh.md +++ b/docs/ikev2-howto-zh.md @@ -111,6 +111,7 @@ Options: --exportclient [client name] export configuration for an existing client --listclients list the names of existing clients --revokeclient [client name] revoke a client certificate + --deleteclient [client name] delete a client certificate --removeikev2 remove IKEv2 and delete all certificates and keys from the IPsec database -h, --help show this help message and exit @@ -558,6 +559,12 @@ sudo ikev2.sh --exportclient [client name] 如果要删除一个客户端证书: +```bash +sudo ikev2.sh --deleteclient [client name] +``` + +或者,你也可以手动删除一个客户端证书: + 1. 列出 IPsec 证书数据库中的证书: ```bash diff --git a/docs/ikev2-howto.md b/docs/ikev2-howto.md index ba406af..8df5276 100644 --- a/docs/ikev2-howto.md +++ b/docs/ikev2-howto.md @@ -111,6 +111,7 @@ Options: --exportclient [client name] export configuration for an existing client --listclients list the names of existing clients --revokeclient [client name] revoke a client certificate + --deleteclient [client name] delete a client certificate --removeikev2 remove IKEv2 and delete all certificates and keys from the IPsec database -h, --help show this help message and exit @@ -560,6 +561,12 @@ First, read the important note above. Then click here for instructions. To delete a client certificate: +```bash +sudo ikev2.sh --deleteclient [client name] +``` + +Alternatively, you can manually delete a client certificate: + 1. List certificates in the IPsec database: ```bash