Browse Source

Merge branch to remove spaces from domain names

pull/7/head
srvrco 10 years ago
parent
commit
708d61be14
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      checkssl

+ 3
- 1
checkssl View File

@ -29,10 +29,11 @@
# 2016-05-30 Added auto-upgrade option on the command line (1.00)
# 2016-05-30 Correcting typo (1.01)
# 2016-07-20 adding -p option to list possible issues (1.02)
# 2016-08-02 remove spaces from domain names (1.03)
# ---------------------------------------------------------------------------
PROGNAME=${0##*/}
VERSION="1.02"
VERSION="1.03"
ORIGCMD="$0 $*"
UPDATE_LOCATION="https://raw.githubusercontent.com/srvrco/checkssl/master/checkssl"
@ -274,6 +275,7 @@ debug "completed creating list of domains"
# read domains from file
while IFS= read -r DOMAIN; do
if [ ! -z "$DOMAIN" ]; then
DOMAIN=${DOMAIN// /}
PROBLEMS=""
debug " --------------- domain ${DOMAIN} ---------------------"
CERTINFO=$(echo | openssl s_client -servername "${DOMAIN}" -connect "${DOMAIN}:443" 2>/dev/null | openssl x509 2>/dev/null)


Loading…
Cancel
Save