Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'verify-cert' command to current 'verify' command #850

Merged
merged 1 commit into from
Jan 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -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-revoke <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>
export-p1 <file_name_base> [ cmd-opts ]
export-p7 <file_name_base> [ cmd-opts ]
Expand Down Expand Up @@ -279,16 +279,16 @@ cmd_help() {
Shows details of renewed certificates, which have not been revoked
Optionally, check *only* <file_name_base> certificate"
;;
verify)
verify|verify-cert)
text="
* verify <file_name_base> [ cmd-opts ]
* verify-cert <file_name_base> [ 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="
Expand Down Expand Up @@ -5620,7 +5620,7 @@ case "$cmd" in
show-ca)
show_ca "$@"
;;
verify)
verify|verify-cert)
verify_cert "$@"
;;
show-expire)
Expand Down