HxHippy

SSL Certificate Checker

Check SSL certificate expiration dates for domains.

Last updated: 2024-12-15

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
intermediate Networking Updated 2024-12-15
  • ssl
  • tls
  • certificate
  • expiration
  • https