Skip to content

Instantly share code, notes, and snippets.

@nichotined
Created April 18, 2018 09:40
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 nichotined/d07a8fd8d2b7badb01de6ffac89bd064 to your computer and use it in GitHub Desktop.
Save nichotined/d07a8fd8d2b7badb01de6ffac89bd064 to your computer and use it in GitHub Desktop.
To get detailed ssl
curl --insecure -v https://www.google.com 2>&1 | awk 'BEGIN { cert=0 } /^\* SSL connection/ { cert=1 } /^\*/ { if (cert) print }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment