echo | \ openssl s_client -showcerts -servername $1 -connect $1:443 2>/dev/null | \ openssl x509 -inform pem -noout -text 2>/dev/null| \ grep -i "Not After"