Skip to content

Commit

Permalink
self-sign: Use global option --days
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed May 3, 2024
1 parent 86f8704 commit 287b951
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -5409,10 +5409,14 @@ case "$cmd" in
;;
self-sign-server)
verify_working_env
[ -z "$alias_days" ] || \
export EASYRSA_CERT_EXPIRE="$alias_days"
build_self_sign server "$@"
;;
self-sign-client)
verify_working_env
[ -z "$alias_days" ] || \
export EASYRSA_CERT_EXPIRE="$alias_days"
build_self_sign client "$@"
;;
gen-dh)
Expand Down

0 comments on commit 287b951

Please sign in to comment.