Skip to content

Instantly share code, notes, and snippets.

@gravejester
Created June 23, 2017 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gravejester/af1ce6e9a918d644da5ad729ab7c45e8 to your computer and use it in GitHub Desktop.
Save gravejester/af1ce6e9a918d644da5ad729ab7c45e8 to your computer and use it in GitHub Desktop.
DNS_NAME="some.domain.tld"
openssl s_client -connect ${DNS_NAME}:443 -servername ${DNS_NAME} 2>/dev/null </dev/null | openssl x509 -noout -dates -issuer -subject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment