Skip to content

Commit

Permalink
set_openssl_easyrsa_cnf_vars(): Rename 'conf_dir' to 'conf_EASYRSA_dir'
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Jan 19, 2024
1 parent 5bc58b8 commit abe22a5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -5706,7 +5706,7 @@ set_openssl_easyrsa_cnf_vars(){
case "$1" in
expanded)
# fully expand ssl-cnf for safe-cnf
conf_dir="$EASYRSA_PKI"
conf_EASYRSA_dir="$EASYRSA_PKI"
conf_EASYRSA_PKI="$EASYRSA_PKI"
conf_EASYRSA_DIGEST="$EASYRSA_DIGEST"
conf_EASYRSA_KEY_SIZE="$EASYRSA_KEY_SIZE"
Expand All @@ -5723,7 +5723,7 @@ set_openssl_easyrsa_cnf_vars(){
;;
unexpanded)
# write standard ssl-cnf
conf_dir='$dir'
conf_EASYRSA_dir='$dir'
conf_EASYRSA_PKI='$ENV::EASYRSA_PKI'
conf_EASYRSA_DIGEST='$ENV::EASYRSA_DIGEST'
conf_EASYRSA_KEY_SIZE='$ENV::EASYRSA_KEY_SIZE'
Expand Down Expand Up @@ -5996,16 +5996,16 @@ default_ca = CA_default # The default ca section
[ CA_default ]

dir = $conf_EASYRSA_PKI # Where everything is kept
certs = $conf_dir # Where the issued certs are kept
crl_dir = $conf_dir # Where the issued crl are kept
database = $conf_dir/index.txt # database index file.
new_certs_dir = $conf_dir/certs_by_serial # default place for new certs.

certificate = $conf_dir/ca.crt # The CA certificate
serial = $conf_dir/serial # The current serial number
crl = $conf_dir/crl.pem # The current CRL
private_key = $conf_dir/private/ca.key # The private key
RANDFILE = $conf_dir/.rand # private random number file
certs = $conf_EASYRSA_dir # Where the issued certs are kept
crl_dir = $conf_EASYRSA_dir # Where the issued crl are kept
database = $conf_EASYRSA_dir/index.txt # database index file.
new_certs_dir = $conf_EASYRSA_dir/certs_by_serial # default place for new certs.

certificate = $conf_EASYRSA_dir/ca.crt # The CA certificate
serial = $conf_EASYRSA_dir/serial # The current serial number
crl = $conf_EASYRSA_dir/crl.pem # The current CRL
private_key = $conf_EASYRSA_dir/private/ca.key # The private key
RANDFILE = $conf_EASYRSA_dir/.rand # private random number file

x509_extensions = basic_exts # The extensions to add to the cert

Expand Down

0 comments on commit abe22a5

Please sign in to comment.