Skip to content

Instantly share code, notes, and snippets.

@hahwul
Created January 16, 2025 02:13
Show Gist options
  • Save hahwul/cc03136b25984e08de115e5bfd4fec38 to your computer and use it in GitHub Desktop.
Save hahwul/cc03136b25984e08de115e5bfd4fec38 to your computer and use it in GitHub Desktop.
Check the SSL expiration
echo "www.hahwul.com" | xargs -I % openssl s_client -connect %:443 -servername % 2>/dev/null | openssl x509 -noout -dates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment