Merge branch 'fix_305' of https://github.com/xavierba/easy-rsa into xavierba-fix_305

This commit is contained in:
Eric F Crist 2019-06-07 07:32:33 -05:00
commit aeaebfb599
No known key found for this signature in database
GPG Key ID: 72964219390D0D0E

View File

@ -1103,7 +1103,7 @@ Renewal not allowed."
{
san=$(
easyrsa_openssl x509 -in "$crt_in" -noout -text |
sed -n "/X509v3 Subject Alternative Name:/{n;s/ //g;p;}"
sed -n "/X509v3 Subject Alternative Name:/{n;s/IP Address:/IP:/;s/ //g;p;}"
)
[ -n "$san" ] && export EASYRSA_EXTRA_EXTS="\
$EASYRSA_EXTRA_EXTS