Skip to content

Commit

Permalink
Create /issued during init-pki instead of build-ca
Browse files Browse the repository at this point in the history
The reason for this is to allow signed certificates to be imported,
in order to create inline files for remote clients, who have sent
a CSR to the CA and received a signed certificate from the CA.

Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Jan 6, 2024
1 parent 39e4905 commit 6837a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ and initialize a fresh PKI here."
fi

# new dirs:
for i in private reqs inline; do
for i in issued private reqs inline; do
mkdir -p "$EASYRSA_PKI/$i" || \
die "\
Failed to create PKI file structure (permissions?)"
Expand Down Expand Up @@ -1557,7 +1557,7 @@ current CA. To start a new CA, run init-pki first."
# create necessary dirs:
err_msg="\
Unable to create necessary PKI files (permissions?)"
for i in issued certs_by_serial \
for i in certs_by_serial \
revoked/certs_by_serial revoked/private_by_serial \
revoked/reqs_by_serial
do
Expand Down

0 comments on commit 6837a1a

Please sign in to comment.