Browse Source

modify compare for widcards certificates

pull/13/head
Michael Heca 9 years ago
parent
commit
fa35cada16
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      checkssl

+ 1
- 1
checkssl View File

@ -367,7 +367,7 @@ while IFS= read -r LINE; do
ENDDATE=$(echo "$CERTINFO" | openssl x509 -noout -enddate 2>/dev/null| cut -d= -f 2-)
[[ -z $ENDDATE ]] && ENDDATE="-"
debug "$ENDDATE"
if [ "${DOMAIN}" != "$ISSUEDTO" ]; then
if [[ $DOMAIN != $ISSUEDTO ]]; then
if [[ -z $CERTINFO ]]; then
PROBLEMS=$(echo "${PROBLEMS}- no certificate found")
else


Loading…
Cancel
Save