Merge branch 'TinCanTech-add-verify-cert-cmd'

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2023-01-19 21:19:57 +00:00
commit 689ec8b45c
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -50,7 +50,7 @@ Here is the list of commands available with a short syntax reminder. Use the
show-expire <file_name_base> (Optional) show-expire <file_name_base> (Optional)
show-revoke <file_name_base> (Optional) show-revoke <file_name_base> (Optional)
show-renew <file_name_base> (Optional) show-renew <file_name_base> (Optional)
verify <file_name_base> verify-cert <file_name_base>
import-req <request_file_path> <short_name_base> import-req <request_file_path> <short_name_base>
export-p1 <file_name_base> [ cmd-opts ] export-p1 <file_name_base> [ cmd-opts ]
export-p7 <file_name_base> [ cmd-opts ] export-p7 <file_name_base> [ cmd-opts ]
@ -279,16 +279,16 @@ cmd_help() {
Shows details of renewed certificates, which have not been revoked Shows details of renewed certificates, which have not been revoked
Optionally, check *only* <file_name_base> certificate" Optionally, check *only* <file_name_base> certificate"
;; ;;
verify) verify|verify-cert)
text=" text="
* verify <file_name_base> [ cmd-opts ] * verify-cert <file_name_base> [ cmd-opts ]
Verify certificate against CA Verify certificate against CA
Returns the current validity of the certificate." Returns the current validity of the certificate."
opts=" opts="
* batch - On failure to verify, return error (1) to calling program" * batch - On failure to verify, return error (1) to caller"
;; ;;
import-req) import-req)
text=" text="
@ -5620,7 +5620,7 @@ case "$cmd" in
show-ca) show-ca)
show_ca "$@" show_ca "$@"
;; ;;
verify) verify|verify-cert)
verify_cert "$@" verify_cert "$@"
;; ;;
show-expire) show-expire)