Merge branch 'luizluca-fix_initpki_openssl_path'
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
commit
39bbfe2228
@ -440,9 +440,9 @@ and initialize a fresh PKI here."
|
|||||||
mkdir -p "$EASYRSA_PKI/$i" || die "Failed to create PKI file structure (permissions?)"
|
mkdir -p "$EASYRSA_PKI/$i" || die "Failed to create PKI file structure (permissions?)"
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ ! -f "$EASYRSA_PKI/openssl-easyrsa.cnf" -a -f "$EASYRSA/openssl-easyrsa.cnf" ];
|
if [ ! -f "$EASYRSA_SSL_CONF" -a -f "$EASYRSA/openssl-easyrsa.cnf" ];
|
||||||
then
|
then
|
||||||
cp "$EASYRSA/openssl-easyrsa.cnf" "$EASYRSA_PKI/openssl-easyrsa.cnf"
|
cp "$EASYRSA/openssl-easyrsa.cnf" "$EASYRSA_SSL_CONF"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
notice "\
|
notice "\
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user