Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OpenSSL client commands

Connect to TLS endpoint w/SNI

echo | openssl s_client -connect $site:$port -servername $site

Show certificate expiration dates

echo | openssl s_client -connect $site:$port -servername $site 2>/dev/null | openssl x509 -noout -dates

Show all certificate info

echo | openssl s_client -connect $site:$port -servername $site 2>/dev/null | openssl x509 -noout -text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.