Skip to content

Commit

Permalink
init-pki: Always write vars.example file to fresh PKI
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Dec 14, 2023
1 parent 4c5c9d9 commit c99141c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -1346,6 +1346,9 @@ and initialize a fresh PKI here."
esac
fi

# pki/vars.example
write vars "$EASYRSA_PKI" || die "init-pki - write vars"

# new dirs:
for i in private reqs inline; do
mkdir -p "$EASYRSA_PKI/$i" || \
Expand Down

0 comments on commit c99141c

Please sign in to comment.