Merge branch 'TinCanTech-import-req-check-in-file'
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
commit
aca34a051b
@ -3266,6 +3266,11 @@ import_req() {
|
||||
Unable to import: incorrect command syntax.
|
||||
Run easyrsa without commands for usage and command help."
|
||||
|
||||
# Request file must exist
|
||||
[ -e "$in_req" ] || die "\
|
||||
No request found for the input: '$2'
|
||||
Expected to find the request at: $in_req"
|
||||
|
||||
verify_file req "$in_req" || die "\
|
||||
The input file does not appear to be a certificate request. Aborting import.
|
||||
File Path: $in_req"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user