Skip to content

Commit

Permalink
Merge branch 'bugfix-build-ca-openssl-easersa-cnf' of ssh://github.co…
Browse files Browse the repository at this point in the history
…m/TinCanTech/easy-rsa into TinCanTech-bugfix-build-ca-openssl-easersa-cnf

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
  • Loading branch information
TinCanTech committed Dec 21, 2022
2 parents fc8c1c4 + 4b3458b commit 2f1fa20
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions easyrsa3/easyrsa
Expand Up @@ -1333,9 +1333,13 @@ Missing X509-type 'ca'"
Missing X509-type 'COMMON'"

# Check for insert-marker in ssl config file
if ! grep -q '^#%CA_X509_TYPES_EXTRA_EXTS%' "$EASYRSA_SSL_CONF"; then
die "\
The copy of openssl-easyrsa.cnf in use does not support X509-type 'ca'.
if grep -q '^#%CA_X509_TYPES_EXTRA_EXTS%' \
"$EASYRSA_SSL_CONF"
then
[ "$EASYRSA_BATCH" ] || print
else
warn "\
The openssl config file in use does not support X509-type 'ca'.
* $EASYRSA_SSL_CONF
Please update openssl-easyrsa.cnf to the latest official release."
fi
Expand Down

0 comments on commit 2f1fa20

Please sign in to comment.