Fix correct name for IP option of subjectAltName
This commit is contained in:
parent
e4c9b5ed36
commit
3301c09f5c
@ -1409,7 +1409,7 @@ display_san() {
|
||||
else
|
||||
san=$(
|
||||
"$EASYRSA_OPENSSL" "$format" -in "$path" -noout -text |
|
||||
sed -n "/X509v3 Subject Alternative Name:/{n;s/ //g;p;}"
|
||||
sed -n "/X509v3 Subject Alternative Name:/{n;s/ //g;s/IPAddress:/IP:/g;p;}"
|
||||
)
|
||||
|
||||
[ -n "$san" ] && print "$san"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user