SSL Certificate Checker
#!/bin/bash
for domain in "$@"; do
expiry=$(echo | openssl s_client -connect "$domain:443" 2>/dev/null | openssl x509 -noout -enddate | cut -d= -f2)
echo "$domain: $expiry"
done - ssl
- tls
- certificate
- expiration
- https