public
Created

  • Download Gist
rubygems ssl
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
$ openssl s_client -connect rubygems.org:443
CONNECTED(00000003)
depth=2 C = US, O = GeoTrust Inc., CN = GeoTrust Global CA
verify return:1
depth=1 C = US, O = "GeoTrust, Inc.", CN = RapidSSL CA
verify return:1
depth=0 serialNumber = RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD, OU = GT35895174, OU = See www.rapidssl.com/resources/cps (c)13, OU = Domain Control Validated - RapidSSL(R), CN = *.rubygems.org
verify return:1
---
Certificate chain
0 s:/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=*.rubygems.org
i:/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
1 s:/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
i:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIFMDCCBBigAwIBAgIDCl4aMA0GCSqGSIb3DQEBBQUAMDwxCzAJBgNVBAYTAlVT
MRcwFQYDVQQKEw5HZW9UcnVzdCwgSW5jLjEUMBIGA1UEAxMLUmFwaWRTU0wgQ0Ew
HhcNMTMwMTMwMjA1NjE0WhcN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9yYXBpZHNzbC1vY3NwLmdlb3Ry
dXN0LmNvbTA5BggrBgEFBQcwAoYtaHR0cDovL3JhcGlkc3NsLWFpYS5nZW90cnVz
dC5jb20vcmFwaWRzc2wuY3J0MEwGA1UdIARFMEMwQQYKYIZIAYb4RQEHNjAzMDEG
CCsGAQUFBwIBFiVodHRwOi8vd3d3Lmdlb3RydXN0LmNvbS9yZXNvdXJjZXMvY3Bz
MA0GCSqGSIb3DQEBBQUAA4IBAQBMugSZ6+ISnmeDd66Q42kSyPXYkfxNTSzYWTIm
fdvI66/DFRJTYa/25vaP/gGidrN2UZa9wQm2/t2A5lZrNXneUNN4dVdr9868AjFp
pdXvu/w2Bl3BQv2Uo6FDbnM9g1OzBLMPvPjtksJ1ybkEAOihi0EijbzFNP5rNYJm
lYBwU3Z68ZOZk943JVq1sQsKol1QQAEo3KgGU2JWuSJTnglwZwidimikTkEA+FEe
EjeYVpQZ/PV6OdzfBCM2NTy7FIyg9k7z3j/MV73G/fsgTIvQWjcUAH2d7+35XJdt
VjXjeJH2lIMZXIVeAqxSSmeX4jHHdZePSEMgqa8DJ8kmmmOA
-----END CERTIFICATE-----
subject=/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=*.rubygems.org
issuer=/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
---
No client certificate CA names sent
---
SSL handshake has read 3165 bytes and written 361 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1.2
Cipher : DHE-RSA-AES256-GCM-SHA384
Session-ID: 4C9227AF914943DBB50A282B5A9747A9AF29090C1D54B3A7479ADB2091D69143
Session-ID-ctx:
Master-Key: 6286F37858D7C0C7C8DFF2701B3D187513D03BE5C6EF2918406A073A0FEA50C7AEFF72579C2DB0BE72F56B167E5DE6D6
Key-Arg : None
Krb5 Principal: None
PSK identity: None
PSK identity hint: None
TLS session ticket lifetime hint: 300 (seconds)
TLS session ticket:
0000 - 51 97 82 3e 18 5d 4a eb-16 b9 ae dc 62 11 01 d5 Q..>.]J.....b...
0010 - 2a 37 a6 52 e7 ca 10 41-3f 36 55 a2 01 3e 02 3c *7.R...A?6U..>.<
0020 - d4 0f 0f c8 f3 06 d7 fc-85 c2 65 67 c9 ef a5 9d ..........eg....
0030 - de 0e cc 00 e4 c5 b2 77-35 0d c5 07 32 3b 0f e8 .......w5...2;..
0040 - cb 64 d3 9d 8d b1 4f be-03 0a a8 2e 50 50 fa 00 .d....O.....PP..
0050 - f2 72 57 30 ed c6 da 35-2c 9e de 63 f0 7b fc 2c .rW0...5,..c.{.,
0060 - 1b 41 a9 00 20 c5 2b 3f-ff 69 82 81 b1 91 eb 21 .A.. .+?.i.....!
0070 - a7 82 8e c3 54 0d 43 b8-5c e0 b6 54 52 30 87 6e ....T.C.\..TR0.n
0080 - ee 6d ef 85 d4 0c 0d 1a-6a 06 5e c5 81 57 00 54 .m......j.^..W.T
0090 - 62 fc 08 1f 4d 80 04 57-79 67 ac ad df 9b c4 88 b...M..Wyg......
 
Start Time: 1382092667
Timeout : 300 (sec)
Verify return code: 0 (ok)
---
read:errno=0
$ openssl s_client -connect rubygems.org:443
CONNECTED(00000003)
depth=2 C = US, O = GeoTrust Inc., CN = GeoTrust Global CA
verify return:1
depth=1 C = US, O = "GeoTrust, Inc.", CN = RapidSSL CA
verify return:1
depth=0 serialNumber = RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD, OU = GT35895174, OU = See www.rapidssl.com/resources/cps (c)13, OU = Domain Control Validated - RapidSSL(R), CN = *.rubygems.org
verify return:1
---
Certificate chain
0 s:/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN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HSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwJwYDVR0RBCAwHoIOKi5ydWJ5
Z2Vtcy5vcmeCDHJ1YnlnZW1zLm9yZzBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8v
cmFwaWRzc2wtY3JsLmdlb3RydXN0LmNvbS9jcmxzL3JhcGlkc3NsLmNybDAdBgNV
HQ4EFgQU2Czq+nFLhWXI839ux9DNgKsb3vYwDAYDVR0TAQH/BAIwADB4BggrBgEF
BQcBAQRsMGowLQYIKwYBBQUHMAGGIWh0dHA6Ly9yYXBpZHNzbC1vY3NwLmdlb3Ry
dXN0LmNvbTA5BggrBgEFBQcwAoYtaHR0cDovL3JhcGlkc3NsLWFpYS5nZW90cnVz
dC5jb20vcmFwaWRzc2wuY3J0MEwGA1UdIARFMEMwQQYKYIZIAYb4RQEHNjAzMDEG
CCsGAQUFBwIBFiVodHRwOi8vd3d3Lmdlb3RydXN0LmNvbS9yZXNvdXJjZXMvY3Bz
MA0GCSqGSIb3DQEBBQUAA4IBAQBMugSZ6+ISnmeDd66Q42kSyPXYkfxNTSzYWTIm
fdvI66/DFRJTYa/25vaP/gGidrN2UZa9wQm2/t2A5lZrNXneUNN4dVdr9868AjFp
pdXvu/w2Bl3BQv2Uo6FDbnM9g1OzBLMPvPjtksJ1ybkEAOihi0EijbzFNP5rNYJm
lYBwU3Z68ZOZk943JVq1sQsKol1QQAEo3KgGU2JWuSJTnglwZwidimikTkEA+FEe
EjeYVpQZ/PV6OdzfBCM2NTy7FIyg9k7z3j/MV73G/fsgTIvQWjcUAH2d7+35XJdt
VjXjeJH2lIMZXIVeAqxSSmeX4jHHdZePSEMgqa8DJ8kmmmOA
-----END CERTIFICATE-----
subject=/serialNumber=RRAXldgzDrRZWQpGo6FHdTHV3qwvwXtD/OU=GT35895174/OU=See www.rapidssl.com/resources/cps (c)13/OU=Domain Control Validated - RapidSSL(R)/CN=*.rubygems.org
issuer=/C=US/O=GeoTrust, Inc./CN=RapidSSL CA
---
No client certificate CA names sent
---
SSL handshake has read 3165 bytes and written 361 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1.2
Cipher : DHE-RSA-AES256-GCM-SHA384
Session-ID: DA8404C7BA7E0739F3F32042A815E29129E726C3E2424F2B5FFB68860C074CA4
Session-ID-ctx:
Master-Key: 829CA608548A86ACA21846D8B16EB9AE90B5DEEDBC67C929B109BB5651270E332012E0355675A5E10A58413BCBBABF93
Key-Arg : None
Krb5 Principal: None
PSK identity: None
PSK identity hint: None
TLS session ticket lifetime hint: 300 (seconds)
TLS session ticket:
0000 - 51 97 82 3e 18 5d 4a eb-16 b9 ae dc 62 11 01 d5 Q..>.]J.....b...
0010 - 3f db 3b 36 2e 41 36 48-a1 fc 33 d3 26 e1 8d c0 ?.;6.A6H..3.&...
0020 - de 38 f6 b7 dc 5a ed c9-8e 71 3b d4 eb 7f 26 1b .8...Z...q;...&.
0030 - 29 d2 30 e5 18 a9 27 a8-11 37 c0 d4 52 9e 4f 3c ).0...'..7..R.O<
0040 - 0e 02 81 43 b7 9e 0e 57-ed fc e6 f9 75 6f 75 41 ...C...W....uouA
0050 - f4 94 c9 35 95 aa b6 74-88 de 7d d5 fd d8 85 41 ...5...t..}....A
0060 - b4 96 d3 02 8e 11 c3 6b-6e 3d 93 7e d5 8f 37 d6 .......kn=.~..7.
0070 - c1 f1 0a 52 94 a0 50 31-0d f3 fc dd 7f 73 f4 a7 ...R..P1.....s..
0080 - e5 5f e4 2b af ab 7b 57-c0 25 51 90 96 98 fb 76 ._.+..{W.%Q....v
0090 - a8 f9 f2 14 68 80 17 f7-30 7d d2 2f 50 c8 e6 a4 ....h...0}./P...
 
Start Time: 1382092675
Timeout : 300 (sec)
Verify return code: 0 (ok)
---
read:errno=0
$ openssl s_client -connect rubygems.org:443
CONNECTED(00000003)
139981594986400:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:177:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 171 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.