[ssl_mgmt] Fix subject alternative name detection
This commit is contained in:
parent
8deba57b8d
commit
0f52180d60
|
@ -159,7 +159,7 @@ get_cert_params ()
|
|||
exclNoExt="$exclNoExt,no_sigdump,no_aux"
|
||||
altName="$(openssl x509 -in "$certPath" -text $exclNoExt | while read ext
|
||||
do
|
||||
if [ "$ext" = "X509v3 Subject Alternative Name:" ]
|
||||
if [ "$ext" = "X509v3 Subject Alternative Name: " ]
|
||||
then
|
||||
read altName
|
||||
echo $altName
|
||||
|
|
Loading…
Reference in New Issue