Dear Twitter,

I have checked. But its not working.

I tried the curl-ca-bundle.crt file and also tried ca-certificates.crt files
that comes with Ubuntu-10.04

In both cases I am getting the following error .



“Info: error:140D108E:SSL routines:TLS1_CHANGE_CIPHER_STATE:compression
library error”



I have attached the log file with this mail



Command I used

curl --capath /etc/ssl/certs/ --cacert
/etc/ssl/certs/ca-certificates.crt  --trace
/etc/error.txt https://api.twitter.com



curl --capath /etc/ssl/certs/ --cacert  /etc/ssl/certs/
curl-ca-bundle.crt --trace
/etc/error.txt https://api.twitter.com

Anybody please help me........I am waiting for your reply.


Regards,

George





On Tue, Nov 30, 2010 at 11:38 PM, John Adams <j...@twitter.com> wrote:

> On Mon, Nov 29, 2010 at 11:11 PM, Georgooty varghese 
> <georgo...@gmail.com>wrote:
>
>> Dear Twitter,
>>
>> I wont be able to log in to twitter insecure using twitter(using curl
>> command line tool, you disable this with -k/--insecure). But facebook has no
>> problem. Why this?
>>
>> I think that client need a certifuication? Is it right?
>>
>
> Twitter uses an EV Certificate issued by Verisign. Facebook uses a 3rd
> party EV Certificate, which is not issued by Verisign.
> Some versions of curl do not ship with a proper certificate chain. That's
> why you're having issues verifying the certificate.
>
> The attached CA Bundle file will fix your issue. While it's 239K, you
> really only need the CA and Intermediate certs in this file for Verisign.
> You can remove the rest.
>
> This file gets loaded in your code with:
>
> curl_easy_setopt(m_hcURL, CURLOPT_CAINFO,"curl-ca-bundle.crt"));
>
>
> Your hardware may also have additional dependencies on having an accurate,
> real-time clock, depending on how you communicate with the API and what
> level of verification you do on SSL certs. Make sure that's set correctly as
> well.
>
> -j
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk
== Info: SSLv3, TLS handshake, Client hello (1):
=> Send SSL data, 108 bytes (0x6c)
0000: 01 00 00 68 03 01 4c f4 e3 8f 1f c6 be 81 5c ca ...h..L.......\.
0010: 25 3e 9e 7f 75 dd 06 fc b3 ce b0 7f 5c 5c fc d5 %>.u......\\..
0020: 1b bb 1b ae 04 ee 00 00 26 00 39 00 38 00 35 00 ........&.9.8.5.
0030: 16 00 13 00 0a 00 33 00 32 00 2f 00 07 00 05 00 ......3.2./.....
0040: 04 00 15 00 12 00 09 00 14 00 11 00 08 00 03 02 ................
0050: 01 00 00 18 00 00 00 14 00 12 00 00 0f 61 70 69 .............api
0060: 2e 74 77 69 74 74 65 72 2e 63 6f 6d             .twitter.com
== Info: SSLv3, TLS handshake, Server hello (2):
<= Recv SSL data, 74 bytes (0x4a)
0000: 02 00 00 46 03 01 4c f4 e3 8f ff 96 8b 4b c1 48 ...F..L......K.H
0010: c5 e6 a5 e6 79 46 7e a9 1e ed 3d 55 86 56 f0 28 ....yF~...=U.V.(
0020: 1a 60 1c 1e 88 00 20 19 f1 fc ab 00 28 0f 51 94 .`.... .....(.Q.
0030: 1c 0f 63 90 89 34 0c cd 5b 36 c0 34 47 ec 9d db ..c..4..[6.4G...
0040: 61 7e fe f3 12 70 fc 00 39 01                   a~...p..9.
== Info: SSLv3, TLS handshake, CERT (11):
<= Recv SSL data, 1040 bytes (0x410)
0000: 0b 00 04 0c 00 04 09 00 04 06 30 82 04 02 30 82 ..........0...0.
0010: 03 6b a0 03 02 01 02 02 03 13 e1 36 30 0d 06 09 .k.........60...
0020: 2a 86 48 86 f7 0d 01 01 05 05 00 30 4e 31 0b 30 *.H........0N1.0
0030: 09 06 03 55 04 06 13 02 55 53 31 10 30 0e 06 03 ...U....US1.0...
0040: 55 04 0a 13 07 45 71 75 69 66 61 78 31 2d 30 2b U....Equifax1-0+
0050: 06 03 55 04 0b 13 24 45 71 75 69 66 61 78 20 53 ..U...$Equifax S
0060: 65 63 75 72 65 20 43 65 72 74 69 66 69 63 61 74 ecure Certificat
0070: 65 20 41 75 74 68 6f 72 69 74 79 30 1e 17 0d 31 e Authority0...1
0080: 30 30 37 31 33 31 30 34 30 31 36 5a 17 0d 31 31 00713104016Z..11
0090: 30 38 31 35 31 32 35 35 31 37 5a 30 81 e1 31 29 0815125517Z0..1)
00a0: 30 27 06 03 55 04 05 13 20 5a 79 73 32 64 4a 4a 0'..U... Zys2dJJ
00b0: 30 39 45 50 6f 45 56 47 58 59 74 65 67 49 64 78 09EPoEVGXYtegIdx
00c0: 47 33 4f 5a 74 45 4f 69 62 31 0b 30 09 06 03 55 G3OZtEOib1.0...U
00d0: 04 06 13 02 55 53 31 16 30 14 06 03 55 04 0a 0c ....US1.0...U...
00e0: 0d 2a 2e 74 77 69 74 74 65 72 2e 63 6f 6d 31 13 .*.twitter.com1.
00f0: 30 11 06 03 55 04 0b 13 0a 47 54 35 37 39 33 32 0...U....GT57932
0100: 30 37 34 31 31 30 2f 06 03 55 04 0b 13 28 53 65 074110/..U...(Se
0110: 65 20 77 77 77 2e 72 61 70 69 64 73 73 6c 2e 63 e www.rapidssl.c
0120: 6f 6d 2f 72 65 73 6f 75 72 63 65 73 2f 63 70 73 om/resources/cps
0130: 20 28 63 29 31 30 31 2f 30 2d 06 03 55 04 0b 13  (c)101/0-..U...
0140: 26 44 6f 6d 61 69 6e 20 43 6f 6e 74 72 6f 6c 20 &Domain Control 
0150: 56 61 6c 69 64 61 74 65 64 20 2d 20 52 61 70 69 Validated - Rapi
0160: 64 53 53 4c 28 52 29 31 16 30 14 06 03 55 04 03 dSSL(R)1.0...U..
0170: 0c 0d 2a 2e 74 77 69 74 74 65 72 2e 63 6f 6d 30 ..*.twitter.com0
0180: 82 01 22 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 .."0...*.H......
0190: 05 00 03 82 01 0f 00 30 82 01 0a 02 82 01 01 00 .......0........
01a0: be 1c 92 d2 b2 39 d1 e8 4c b3 12 52 30 58 aa 64 .....9..L..R0X.d
01b0: 3a 83 dc a6 f8 46 c1 c6 58 59 f0 65 ae 5c 2f 00 :....F..XY.e.\/.
01c0: 87 55 82 ff 13 0d eb 22 1e 71 d9 2d ad 51 66 43 .U.....".q.-.QfC
01d0: d4 60 21 cf 31 82 5a 61 85 ff bb 30 02 73 d9 4b .`!.1.Za...0.s.K
01e0: c2 a4 b4 72 6a 5f 50 01 5c f4 d1 d9 d7 88 e9 8d ...rj_P.\.......
01f0: a4 8f 3e c4 d0 c0 21 63 11 5f cb e8 f1 9b af a8 ..>...!c._......
0200: 97 0c 7d 87 45 a5 d0 c2 7d a6 84 6c ff 30 af 59 ..}.E...}..l.0.Y
0210: d1 9d bb 92 55 03 25 e2 d2 58 33 53 68 b0 20 cb ....U.%..X3Sh. .
0220: d4 4a dd 56 39 6d e5 44 2a c4 31 5a 93 4a cc 8c .J.V9m.D*.1Z.J..
0230: f7 02 b1 04 78 d6 1e b7 5c 39 67 b9 0c b7 65 dc ....x...\9g...e.
0240: b1 74 77 57 76 14 b9 89 92 0e 18 bf c6 38 1d 10 .twWv........8..
0250: 28 92 3a f7 69 a4 8f 77 47 e7 83 70 35 1c df c5 (.:.i..wG..p5...
0260: ad 66 dd 30 ba a7 7d ca 71 71 78 bf fb 0c 44 2a .f.0..}.qqx...D*
0270: b1 32 5e a4 af 87 5f 46 45 73 2c 7a 61 1e c5 2b .2^..._FEs,za..+
0280: 02 01 1f c0 3b 41 d6 00 f7 ba cf 30 7b 81 fa 59 ....;A.....0{..Y
0290: d6 e1 6e d7 b6 ff ab 51 e8 d2 cb ef a5 9c cc 1d ..n....Q........
02a0: 02 03 01 00 01 a3 81 d5 30 81 d2 30 1f 06 03 55 ........0..0...U
02b0: 1d 23 04 18 30 16 80 14 48 e6 68 f9 2b d2 b2 95 .#..0...H.h.+...
02c0: d7 47 d8 23 20 10 4f 33 98 90 9f d4 30 0e 06 03 .G.# .O3....0...
02d0: 55 1d 0f 01 01 ff 04 04 03 02 04 f0 30 1d 06 03 U...........0...
02e0: 55 1d 25 04 16 30 14 06 08 2b 06 01 05 05 07 03 U.%..0...+......
02f0: 01 06 08 2b 06 01 05 05 07 03 02 30 25 06 03 55 ...+.......0%..U
0300: 1d 11 04 1e 30 1c 82 0d 2a 2e 74 77 69 74 74 65 ....0...*.twitte
0310: 72 2e 63 6f 6d 82 0b 74 77 69 74 74 65 72 2e 63 r.com..twitter.c
0320: 6f 6d 30 3a 06 03 55 1d 1f 04 33 30 31 30 2f a0 om0:..U...3010/.
0330: 2d a0 2b 86 29 68 74 74 70 3a 2f 2f 63 72 6c 2e -.+.)http://crl.
0340: 67 65 6f 74 72 75 73 74 2e 63 6f 6d 2f 63 72 6c geotrust.com/crl
0350: 73 2f 73 65 63 75 72 65 63 61 2e 63 72 6c 30 1d s/secureca.crl0.
0360: 06 03 55 1d 0e 04 16 04 14 b2 8c be 1f 4c cf 52 ..U..........L.R
0370: eb 9e f0 be 81 76 b6 bd d6 65 a8 cf 91 30 0d 06 .....v...e...0..
0380: 09 2a 86 48 86 f7 0d 01 01 05 05 00 03 81 81 00 .*.H............
0390: 5a ce 09 f7 0d 3c dc 9c f2 61 72 9f cf c8 d5 61 Z....<...ar....a
03a0: 7d a8 57 f3 82 10 ce e1 6f 93 c5 2e 26 15 ef 44 }.W.....o...&..D
03b0: 7a 97 92 a6 65 0b 3f 2c b9 86 8e b9 0e 14 5c 19 z...e.?,......\.
03c0: 09 6f cc 34 7d d3 7e b0 3d de 8b 5e e3 99 8b 54 .o.4}.~.=..^...T
03d0: 2a ae f3 6a 1a 05 0b 0b 16 8c ce 44 5d 5b 05 46 *..j.......D][.F
03e0: 43 17 8d 2f a5 be e6 bc 72 26 b7 2d 48 fd 6f 2b C../....r&.-H.o+
03f0: 13 2a eb c3 06 b9 d6 12 5c 9d 2b ce bb 09 4d 06 .*......\.+...M.
0400: 3c 48 08 6e b1 25 68 39 13 10 6a 92 2b a3 48 3a <H.n.%h9..j.+.H:
== Info: SSLv3, TLS handshake, Server key exchange (12):
<= Recv SSL data, 525 bytes (0x20d)
0000: 0c 00 02 09 00 80 d6 7d e4 40 cb bb dc 19 36 d6 .........@....6.
0010: 93 d3 4a fd 0a d5 0c 84 d2 39 a4 5f 52 0b b8 81 ..J......9._R...
0020: 74 cb 98 bc e9 51 84 9f 91 2e 63 9c 72 fb 13 b4 t....Q....c.r...
0030: b4 d7 17 7e 16 d5 5a c1 79 ba 42 0b 2a 29 fe 32 ...~..Z.y.B.*).2
0040: 4a 46 7a 63 5e 81 ff 59 01 37 7b ed dc fd 33 16 JFzc^..Y.7{...3.
0050: 8a 46 1a ad 3b 72 da e8 86 00 78 04 5b 07 a7 db .F..;r....x.[...
0060: ca 78 74 08 7d 15 10 ea 9f cc 9d dd 33 05 07 dd .xt.}.......3...
0070: 62 db 88 ae aa 74 7d e0 f4 d6 e2 bd 68 b0 e7 39 b....t}.....h..9
0080: 3e 0f 24 21 8e b3 00 01 02 00 80 21 96 6a f3 66 >.$!.......!.j.f
0090: cc 63 a3 c2 53 cd 15 53 c4 c9 01 84 4f 8a 94 d4 .c..S..S....O...
00a0: 20 a3 cf ac 1f ef da 6d fd 21 4c 11 da ae 21 ce  ......m.!L...!.
00b0: b0 85 c9 e1 a0 da 0b 2a 0e ef df 29 6c 5c 44 2f .......*...)l\D/
00c0: 0b 90 ce f0 0f 55 b5 4c 53 8a 34 9f 30 d2 f7 9d .....U.LS.4.0...
00d0: 63 3b 7a ee c1 ca 24 ee 53 bd 89 9f 4b 18 3c 2c c;z...$.S...K.<,
00e0: b9 a0 dc 05 bb 93 aa 5d e4 ab a0 2c 76 05 d6 cc .......]...,v...
00f0: 0a 95 e4 60 29 18 e5 f8 a0 da 7f dc 03 d7 2b ed ...`)........+.
0100: 5f a6 46 30 40 86 cd 3e 88 89 fe 01 00 4e a0 62 _...@..>.....N.b
0110: 93 f0 53 b2 52 9f 75 49 0e 39 19 96 c8 8e 9c b5 ..S.R.uI.9......
0120: 8d d9 d1 16 e0 61 95 70 8d cc 30 da bf 02 37 af .....a.p..0...7.
0130: b5 e7 9d f6 ba 6e b3 7c 12 69 8a 17 4e 08 da d1 .....n.|.i..N...
0140: 52 a9 3a 45 cd d5 4a 02 bd f4 0c 67 c6 b1 0c 85 R.:E..J....g....
0150: be 89 91 e1 70 f7 b3 7e 98 d2 22 6b a9 17 25 95 ....p..~.."k..%.
0160: ac 14 08 49 1c 8e d0 87 97 f9 63 a5 56 d1 75 d3 ...I......c.V.u.
0170: ae bd c9 88 af 11 1e 28 16 e3 c5 66 89 47 22 e7 .......(...f.G".
0180: e1 38 bf d3 69 8d 7b 82 c7 d1 02 bd d6 a4 a6 4b .8..i.{........K
0190: 18 d1 cd 76 31 14 8c 89 1b 1d 41 ba 71 a2 c9 7e ...v1.....A.q..~
01a0: fb 59 3c b6 25 35 e5 a7 98 a7 c3 aa c0 28 8e 2d .Y<.%5.......(.-
01b0: 1e a8 8d 0a 78 e5 aa b6 4e 7f 79 f9 b5 8d 02 29 ....x...Ny....)
01c0: a7 53 93 f0 a1 27 db 7d a6 c4 92 ba c1 90 c2 f0 .S...'.}........
01d0: 39 89 bb 12 03 82 2a ea b5 22 8c b5 da 5f 7f 98 9.....*.."..._.
01e0: e5 e2 3f c8 c3 ea 13 89 1c 28 11 4a d8 04 12 92 ..?......(.J....
01f0: b2 5a 26 e9 3b d2 e6 63 21 9f 9f 12 82 88 53 bf .Z&.;..c!.....S.
0200: f5 e7 bb 6a fd c5 af 1f 7b bb 0c 7a 1b          ...j....{..z.
== Info: SSLv3, TLS handshake, Server finished (14):
<= Recv SSL data, 4 bytes (0x4)
0000: 0e 00 00 00                                     ....
== Info: SSLv3, TLS handshake, Client key exchange (16):
=> Send SSL data, 134 bytes (0x86)
0000: 10 00 00 82 00 80 c7 46 41 4c c7 e6 5f 18 29 ab .......FAL.._.).
0010: 96 0a ad e2 9f f4 bf 1b 4a 91 1b 9b 69 a9 b0 87 ........J...i...
0020: 9c d8 41 7c fb f7 6c 2f 60 73 74 00 72 2a 55 b7 ..A|..l/`st.r*U.
0030: 4d 41 11 a8 13 97 2e 49 0c 81 74 14 2f ed 2d 9c MA.....I..t./.-.
0040: 7e e7 cb 95 32 3c 3f 15 eb 6c 7b a3 08 e8 c9 b4 ~...2<?..l{.....
0050: 4c d5 d3 bc f8 77 77 07 95 f7 fa d3 79 70 6b ad L....ww.....ypk.
0060: 87 33 bf 02 3f 9b da 1a 27 5f 8c 66 fd ae 6d 55 .3..?...'_.f..mU
0070: f9 0d bb 7b cd 2d a8 cf 4f d3 c2 2d a5 42 98 95 ...{.-..O..-.B..
0080: d2 5a 48 21 bc b0                               .ZH!..
== Info: SSLv3, TLS change cipher, Client hello (1):
=> Send SSL data, 1 bytes (0x1)
0000: 01                                              .
== Info: error:140D108E:SSL routines:TLS1_CHANGE_CIPHER_STATE:compression 
library error

Reply via email to