Created
September 26, 2016 09:29
-
-
Save MrSam/a939d2f353d811ef40bead45f29ad78e to your computer and use it in GitHub Desktop.
Valid SSL cert
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
Snickers:~$ curl --insecure -v https://www.google.com 2>&1 | awk 'BEGIN { cert=0 } /^\* Server certificate:/ { cert=1 } /^\*/ { if (cert) print }' | |
* Server certificate: | |
* subject: C=US; ST=California; L=Mountain View; O=Google Inc; CN=www.google.com | |
* start date: Sep 14 08:20:40 2016 GMT | |
* expire date: Dec 7 08:19:00 2016 GMT | |
* issuer: C=US; O=Google Inc; CN=Google Internet Authority G2 | |
* SSL certificate verify ok. | |
* Connection #0 to host www.google.com left intact | |
Snickers:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment