rewind-renew: Correct user messages, replace 'renew' with 'rewind'
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
7b4d2fb23e
commit
f3f984991a
@ -2490,12 +2490,12 @@ Run easyrsa without commands for usage and command help."
|
||||
|
||||
# referenced cert must exist:
|
||||
[ -f "$crt_in" ] || die "\
|
||||
Unable to renew as no certificate was found. Certificate was expected
|
||||
Unable to rewind as no certificate was found. Certificate was expected
|
||||
at: $crt_in"
|
||||
|
||||
# Verify certificate
|
||||
verify_file x509 "$crt_in" || die "\
|
||||
Unable to renew as the input file is not a valid certificate. Unexpected
|
||||
Unable to rewind as the input file is not a valid certificate. Unexpected
|
||||
input in file: $crt_in"
|
||||
|
||||
# Verify request
|
||||
@ -2525,7 +2525,7 @@ Unexpected input in file: $req_in"
|
||||
|
||||
# NEVER over-write a renewed cert, revoke it first
|
||||
deny_msg="\
|
||||
Cannot renew this certificate because a conflicting file exists.
|
||||
Cannot rewind this certificate because a conflicting file exists.
|
||||
*"
|
||||
[ -e "$crt_out" ] && die "$deny_msg certificate: $crt_out"
|
||||
[ -e "$key_out" ] && die "$deny_msg private key: $key_out"
|
||||
@ -2580,7 +2580,7 @@ with the following subject:
|
||||
Rewind is successful.
|
||||
|
||||
Common Name : $crt_cn
|
||||
Serial number: $file_name_base
|
||||
Serial number: $cert_serial
|
||||
|
||||
To revoke use: 'revoke-renewed $crt_cn'"
|
||||
} # => rewind_renew()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user