[ssl_mgmt] Fix subject alternative name detection

This commit is contained in:
Thomas Preud'homme 2014-03-09 21:00:24 +08:00
parent 8deba57b8d
commit 0f52180d60
1 changed files with 1 additions and 1 deletions

View File

@ -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