Skip to content

Instantly share code, notes, and snippets.

@yrchen
Created November 22, 2011 08:33
Show Gist options
  • Save yrchen/1385189 to your computer and use it in GitHub Desktop.
Save yrchen/1385189 to your computer and use it in GitHub Desktop.
gnutls-cli -p 443 github.com (MAGI-V.ATCity.org)
➜ Temp gnutls-cli -p 443 github.com
Resolving 'github.com'...
Connecting to '207.97.227.239:443'...
- Certificate type: X.509
- Got a certificate list of 2 certificates.
- Certificate[0] info:
- subject `2.5.4.15=#0c1450726976617465204f7267616e697a6174696f6e,1.3.6.1.4.1.311.60.2.1.3=#13025553,1.3.6.1.4.1.311.60.2.1.2=#130a43616c69666f726e6961,serialNumber=C3268102,C=US,ST=California,L=San Francisco,O=GitHub\, Inc.,CN=github.com', issuer `C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert High Assurance EV CA-1', RSA key 2048 bits, signed using RSA-SHA1, activated `2011-05-27 00:00:00 UTC', expires `2013-07-29 12:00:00 UTC', SHA-1 fingerprint `ce6799252cac78127d94b5622c31c516a6347353'
- Certificate[1] info:
- subject `C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert High Assurance EV CA-1', issuer `C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert High Assurance EV Root CA', RSA key 2048 bits, signed using RSA-SHA1, activated `2006-11-10 00:00:00 UTC', expires `2021-11-10 00:00:00 UTC', SHA-1 fingerprint `4a358b2535286142f60f4e9b57e2ae116dabf0f5'
- The hostname in the certificate matches 'github.com'.
- Peer's certificate issuer is unknown
- Peer's certificate is NOT trusted
- Version: TLS1.0
- Key Exchange: RSA
- Cipher: AES-256-CBC
- MAC: SHA1
- Compression: NULL
- Handshake was completed
- Simple Client Mode:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment