Skip to content

Instantly share code, notes, and snippets.

@cjp
Created December 26, 2014 14:10
Show Gist options
  • Save cjp/bf926a7272e7cc091813 to your computer and use it in GitHub Desktop.
Save cjp/bf926a7272e7cc091813 to your computer and use it in GitHub Desktop.
crypto.cat tls certificate as of 2014-12-16
% echo | openssl s_client -tls1_2 -servername crypto.cat -connect crypto.cat:443 2>/dev/null >/tmp/crypto.cat
% openssl x509 -noout -in /tmp/crypto.cat -text | grep -A2 Validity
Validity
Not Before: Dec 24 00:00:00 2014 GMT
Not After : Feb 5 12:00:00 2016 GMT
% for h in md5 sha1; do openssl x509 -noout -in /tmp/crypto.cat -fingerprint -$h; done
MD5 Fingerprint=DE:16:98:A3:A8:B6:04:3F:88:9B:2F:F5:58:26:73:AD
SHA1 Fingerprint=AE:96:D9:C0:69:46:32:7D:1B:83:D1:08:99:61:8A:1D:D8:06:44:E7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment