From ffd63b6cc42ad7b021c8336e96396ca5b56d91b9 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Thu, 19 Jan 2023 02:14:39 +0000 Subject: [PATCH] Add 'verify-cert' command to current 'verify' command This should have always been 'verify-cert' because it only verifies to certificates. (Also change 'help' text) Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index b28ac39..18a096d 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -50,7 +50,7 @@ Here is the list of commands available with a short syntax reminder. Use the show-expire (Optional) show-revoke (Optional) show-renew (Optional) - verify + verify-cert import-req export-p1 [ cmd-opts ] export-p7 [ cmd-opts ] @@ -279,16 +279,16 @@ cmd_help() { Shows details of renewed certificates, which have not been revoked Optionally, check *only* certificate" ;; - verify) + verify|verify-cert) text=" -* verify [ cmd-opts ] +* verify-cert [ cmd-opts ] Verify certificate against CA Returns the current validity of the certificate." opts=" - * batch - On failure to verify, return error (1) to calling program" + * batch - On failure to verify, return error (1) to caller" ;; import-req) text=" @@ -5620,7 +5620,7 @@ case "$cmd" in show-ca) show_ca "$@" ;; - verify) + verify|verify-cert) verify_cert "$@" ;; show-expire)