Merge branch 'fix_305' of https://github.com/xavierba/easy-rsa into xavierba-fix_305
This commit is contained in:
commit
aeaebfb599
@ -1103,7 +1103,7 @@ Renewal not allowed."
|
|||||||
{
|
{
|
||||||
san=$(
|
san=$(
|
||||||
easyrsa_openssl x509 -in "$crt_in" -noout -text |
|
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="\
|
[ -n "$san" ] && export EASYRSA_EXTRA_EXTS="\
|
||||||
$EASYRSA_EXTRA_EXTS
|
$EASYRSA_EXTRA_EXTS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user