Created
January 29, 2019 08:39
-
-
Save mivano/98892b9f02f86ec47acc627abffbfaaf to your computer and use it in GitHub Desktop.
Check certificate using curl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --insecure -v https://webservertocheck 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