From c99141c0375c8124924e569a86e470a57fe472d0 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Thu, 14 Dec 2023 01:08:06 +0000 Subject: [PATCH] init-pki: Always write vars.example file to fresh PKI Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 3 +++ 1 file changed, 3 insertions(+) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 9081c2312..5a40be972 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -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" || \