Allow multiple 'SAN: IP Address' entries
Closes: #564 Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
ad804cdd65
commit
3e218efda3
@ -1885,7 +1885,7 @@ Renewal not allowed."
|
|||||||
else
|
else
|
||||||
san="$(
|
san="$(
|
||||||
easyrsa_openssl x509 -in "$crt_in" -noout -text | sed -n \
|
easyrsa_openssl x509 -in "$crt_in" -noout -text | sed -n \
|
||||||
"/X509v3 Subject Alternative Name:/{n;s/IP Address:/IP:/;s/ //g;p;}"
|
"/X509v3 Subject Alternative Name:/{n;s/IP Address:/IP:/g;s/ //g;p;}"
|
||||||
)"
|
)"
|
||||||
|
|
||||||
[ -n "$san" ] && export EASYRSA_EXTRA_EXTS="\
|
[ -n "$san" ] && export EASYRSA_EXTRA_EXTS="\
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user