Skip to content

Instantly share code, notes, and snippets.

@dbrosy
Last active November 5, 2019 22:57
Show Gist options
  • Save dbrosy/a52f4af34bffdd3003caae18018574db to your computer and use it in GitHub Desktop.
Save dbrosy/a52f4af34bffdd3003caae18018574db to your computer and use it in GitHub Desktop.
Test url certificate
curl --insecure -v https://www.google.com 2>&1 | awk 'BEGIN { cert=0 } /^\* SSL connection/ { cert=1 } /^\*/ { if (cert) print }'
Test SSL Certificate
curl -v --insecure https://www.google.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment