cURL / Mailing Lists / curl-users / Single Mail

curl-users

FTP over SSL

From: Gallegos, Alfonso <agallegos_at_mesirowfinancial.com>
Date: Mon, 13 Oct 2008 12:37:57 -0500

Hello,

I've been attempting to connect to a site using a curl command and the
specified options for quite some time now without luck. Can anyone
help.

/usr/bin/curl --ftp-ssl --ftp-pasv --sslv3 --verbose --insecure --trace
./curl.log -E /home/publickey.pem --key /home/privatekey.pem --pass
Passwd --user USER:password ftp://site.com/path/ <ftp://site.com/path/>
I get this error: I'm using curl 7.12 and 7.19 same results. Any
ideas?

== Info: About to connect() to site.com port 21 (#0)

== Info: Trying 216.99.55.23... == Info: connected

== Info: Connected to site.com (216.99.55.23) port 21 (#0)

<= Recv header, 88 bytes (0x58)

0000: 32 32 30 20 73 73 67 72 61 6d 69 68 71 73 66 74 220 ssgramihqsft

0010: 73 35 31 3a 36 30 32 31 20 46 54 50 20 73 65 72 s51:6021 FTP ser

0020: 76 65 72 20 28 77 65 62 4d 65 74 68 6f 64 73 20 ver (webMethods

0030: 49 6e 74 65 67 72 61 74 69 6f 6e 20 53 65 72 76 Integration Serv

0040: 65 72 20 76 65 72 73 69 6f 6e 20 36 2e 35 29 20 er version 6.5)

0050: 72 65 61 64 79 2e 0d 0a ready...

=> Send header, 10 bytes (0xa)

0000: 41 55 54 48 20 53 53 4c 0d 0a AUTH SSL..

<= Recv header, 18 bytes (0x12)

0000: 32 33 34 20 41 55 54 48 20 53 53 4c 20 4f 4b 2e 234 AUTH SSL OK.

0010: 0d 0a ..

== Info: successfully set certificate verify locations:

== Info: CAfile: /usr/share/ssl/certs/ca-bundle.crt

  CApath: none

== Info: SSLv3, TLS handshake, Client hello (1):

=> Send SSL data, 95 bytes (0x5f)

0000: 01 00 00 5b 03 00 48 f3 86 c3 b9 f6 92 6f 42 10 ...[..H......oB.

0010: 3b b4 48 9a 75 a5 a6 cd 5a 35 d2 72 3f 7d ff a7 ;.H.u...Z5.r?}..

0020: 2b b1 87 1f dc 17 00 00 34 00 39 00 38 00 35 00 +.......4.9.8.5.

0030: 16 00 13 00 0a 00 33 00 32 00 2f 00 66 00 05 00 ......3.2./.f...

0040: 04 00 63 00 62 00 61 00 15 00 12 00 09 00 65 00 ..c.b.a.......e.

0050: 64 00 60 00 14 00 11 00 08 00 06 00 03 01 00 d.`............

== Info: SSLv3, TLS handshake, Server hello (2):

<= Recv SSL data, 58 bytes (0x3a)

0000: 02 00 00 36 03 00 48 f3 86 c2 d6 35 c5 70 fe 1a ...6..H....5.p..

0010: 1d fe 9f 16 0b 0c b3 d8 48 60 f9 ee a2 d9 9b cc ........H`......

0020: 20 c4 a3 24 2e 53 10 1e 78 ee 60 82 fd 2d 03 91 ..$.S..x.`..-..

0030: c8 d5 91 9a 78 bf 92 00 35 00 ....x...5.

== Info: SSLv3, TLS handshake, CERT (11):

<= Recv SSL data, 2502 bytes (0x9c6)

0000: 0b 00 09 c2 00 09 bf 00 05 19 30 82 05 15 30 82 ..........0...0.

0010: 03 fd a0 03 02 01 02 02 10 68 be c9 a0 58 83 7a .........h...X.z

0020: 9d 9b fb 71 49 57 5f 19 1f 30 0d 06 09 2a 86 48 ...qIW_..0...*.H

0030: 86 f7 0d 01 01 05 05 00 30 81 b0 31 0b 30 09 06 ........0..1.0..

0040: 03 55 04 06 13 02 55 53 31 17 30 15 06 03 55 04 .U....US1.0...U.

0050: 0a 13 0e 56 65 72 69 53 69 67 6e 2c 20 49 6e 63 ...VeriSign, Inc

0060: 2e 31 1f 30 1d 06 03 55 04 0b 13 16 56 65 72 69 .1.0...U....Veri

0070: 53 69 67 6e 20 54 72 75 73 74 20 4e 65 74 77 6f Sign Trust Netwo

0080: 72 6b 31 3b 30 39 06 03 55 04 0b 13 32 54 65 72 rk1;09..U...2Ter

0090: 6d 73 20 6f 66 20 75 73 65 20 61 74 20 68 74 74 ms of use at htt

00a0: 70 73 3a 2f 2f 77 77 77 2e 76 65 72 69 73 69 67 ps://www.verisig

00b0: 6e 2e 63 6f 6d 2f 72 70 61 20 28 63 29 30 35 31 n.com/rpa (c)051

00c0: 2a 30 28 06 03 55 04 03 13 21 56 65 72 69 53 69 *0(..U...!VeriSi

00d0: 67 6e 20 43 6c 61 73 73 20 33 20 53 65 63 75 72 gn Class 3 Secur

00e0: 65 20 53 65 72 76 65 72 20 43 41 30 1e 17 0d 30 e Server CA0...0

00f0: 38 30 34 32 35 30 30 30 30 30 30 5a 17 0d 30 39 80425000000Z..09

0100: 30 34 32 35 32 33 35 39 35 39 5a 30 81 88 31 0b 0425235959Z0..1.

0110: 30 09 06 03 55 04 06 13 02 55 53 31 0d 30 0b 06 0...U....US1.0..

0120: 03 55 04 08 13 04 4f 68 69 6f 31 13 30 11 06 03 .U....Ohio1.0...

0130: 55 04 07 14 0a 43 69 6e 63 69 6e 6e 61 74 69 31 U....Cincinnati1

0140: 19 30 17 06 03 55 04 0a 14 10 46 69 66 74 68 20 .0...U....Fifth

0150: 54 68 69 72 64 20 42 61 6e 6b 31 1f 30 1d 06 03 Third Bank1.0...

0160: 55 04 0b 14 16 49 6e 66 6f 72 6d 61 74 69 6f 6e U....Information

0170: 20 54 65 63 68 6e 6f 6c 6f 67 79 31 19 30 17 06 Technology1.0..

0180: 03 55 04 03 14 10 74 65 73 74 2d 73 69 66 74 2e .U....test-sift.

0190: 35 33 2e 63 6f 6d 30 81 9f 30 0d 06 09 2a 86 48 53.com0..0...*.H

01a0: 86 f7 0d 01 01 01 05 00 03 81 8d 00 30 81 89 02 ............0...

01b0: 81 81 00 de ba 50 39 72 75 4e 3c 80 23 5f 56 17 .....P9ruN<.#_V.

01c0: 70 45 29 99 8e 13 14 42 b3 fa 1b f7 23 32 51 91 pE)....B....#2Q.

01d0: 74 20 e9 bb bf 25 18 06 40 2e 48 95 97 79 27 eb t ...%..@.H..y'.

01e0: 3d 06 61 a1 a6 65 06 0b d4 d0 9c 90 a8 2a 32 be =.a..e.......*2.

01f0: 77 3b af 04 f9 77 0a 38 31 ad 35 9d bd eb f0 f7 w;...w.81.5.....

0200: 93 2f 40 3f 9b a1 bf 3c 13 5f c4 b6 dd 43 8d 24 ./@?...<._...C.$

0210: 18 e6 4e 42 bc 63 49 ec 02 57 94 0d 1e 00 04 23 ..NB.cI..W.....#

0220: 5c 66 2b 9e d7 96 42 c6 a1 d7 46 e6 3c 90 84 80 \f+...B...F.<...

0230: 3c 3d 41 02 03 01 00 01 a3 82 01 d3 30 82 01 cf <=A.........0...

0240: 30 09 06 03 55 1d 13 04 02 30 00 30 0b 06 03 55 0...U....0.0...U

0250: 1d 0f 04 04 03 02 05 a0 30 44 06 03 55 1d 1f 04 ........0D..U...

0260: 3d 30 3b 30 39 a0 37 a0 35 86 33 68 74 74 70 3a =0;09.7.5.3http:

0270: 2f 2f 53 56 52 53 65 63 75 72 65 2d 63 72 6c 2e //SVRSecure-crl.

0280: 76 65 72 69 73 69 67 6e 2e 63 6f 6d 2f 53 56 52 verisign.com/SVR

0290: 53 65 63 75 72 65 32 30 30 35 2e 63 72 6c 30 44 Secure2005.crl0D

02a0: 06 03 55 1d 20 04 3d 30 3b 30 39 06 0b 60 86 48 ..U. .=0;09..`.H

02b0: 01 86 f8 45 01 07 17 03 30 2a 30 28 06 08 2b 06 ...E....0*0(..+.

02c0: 01 05 05 07 02 01 16 1c 68 74 74 70 73 3a 2f 2f ........https://

02d0: 77 77 77 2e 76 65 72 69 73 69 67 6e 2e 63 6f 6d www.verisign.com

02e0: 2f 72 70 61 30 1d 06 03 55 1d 25 04 16 30 14 06 /rpa0...U.%..0..

02f0: 08 2b 06 01 05 05 07 03 01 06 08 2b 06 01 05 05 .+.........+....

0300: 07 03 02 30 1f 06 03 55 1d 23 04 18 30 16 80 14 ...0...U.#..0...

0310: 6f ec af a0 dd 8a a4 ef f5 2a 10 67 2d 3f 55 82 o........*.g-?U.

0320: bc d7 ef 25 30 79 06 08 2b 06 01 05 05 07 01 01 ...%0y..+.......

0330: 04 6d 30 6b 30 24 06 08 2b 06 01 05 05 07 30 01 .m0k0$..+.....0.

0340: 86 18 68 74 74 70 3a 2f 2f 6f 63 73 70 2e 76 65 ..http://ocsp.ve

0350: 72 69 73 69 67 6e 2e 63 6f 6d 30 43 06 08 2b 06 risign.com0C..+.

0360: 01 05 05 07 30 02 86 37 68 74 74 70 3a 2f 2f 53 ....0..7http://S

0370: 56 52 53 65 63 75 72 65 2d 61 69 61 2e 76 65 72 VRSecure-aia.ver

0380: 69 73 69 67 6e 2e 63 6f 6d 2f 53 56 52 53 65 63 isign.com/SVRSec

0390: 75 72 65 32 30 30 35 2d 61 69 61 2e 63 65 72 30 ure2005-aia.cer0

03a0: 6e 06 08 2b 06 01 05 05 07 01 0c 04 62 30 60 a1 n..+........b0`.

03b0: 5e a0 5c 30 5a 30 58 30 56 16 09 69 6d 61 67 65 ^.\0Z0X0V..image

03c0: 2f 67 69 66 30 21 30 1f 30 07 06 05 2b 0e 03 02 /gif0!0.0...+...

03d0: 1a 04 14 4b 6b b9 28 96 06 0c bb d0 52 38 9b 29 ...Kk.(.....R8.)

03e0: ac 4b 07 8b 21 05 18 30 26 16 24 68 74 74 70 3a .K..!..0&.$http:

03f0: 2f 2f 6c 6f 67 6f 2e 76 65 72 69 73 69 67 6e 2e //logo.verisign.

0400: 63 6f 6d 2f 76 73 6c 6f 67 6f 31 2e 67 69 66 30 com/vslogo1.gif0

0410: 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 03 82 ...*.H..........

0420: 01 01 00 6b 61 04 fe d1 d9 bf 69 7d 29 94 c8 52 ...ka.....i})..R

0430: 11 47 d6 ce 3d 42 b7 d7 04 0b 31 0f aa 89 c7 c4 .G..=B....1.....

0440: ae 6e 7c 41 9b 71 3b 5f fa d2 3f 2e 70 01 68 be .n|A.q;_..?.p.h.

0450: 91 e7 6d ac 23 22 cf 42 66 ec f2 35 14 70 3f ce ..m.#".Bf..5.p?.

0460: f2 3b cd b3 95 7e f4 46 b4 0a c3 1b c6 37 e9 66 .;...~.F.....7.f

0470: fa b9 0a 0a 38 72 de cc 8c 9a 75 77 29 e2 3d 78 ....8r....uw).=x

0480: e9 01 6a e7 c5 6f 46 da 40 57 bc ab 8b d1 e0 80 ..j..oF._at_W......

0490: 20 d3 60 40 d5 bf 8b 7a 77 bc 34 e9 ef 74 7a 88 .`@...zw.4..tz.

04a0: 04 ed 28 12 05 bd 30 6d 22 33 a3 cf 48 31 20 1f ..(...0m"3..H1 .

04b0: 3d b6 2f 4d 35 23 a1 06 4b 90 c5 12 86 34 6c 2f =./M5#..K....4l/

04c0: bf a3 64 15 d3 6f 21 7c c7 59 85 f5 24 cd c9 e0 ..d..o!|.Y..$...

04d0: 0a 8d 97 57 05 97 2f fb 8d 01 de 3b 1f e5 55 21 ...W../....;..U!

04e0: cb e9 ba 36 ae 5b e9 b4 bb e2 f9 13 0f e5 0a 0a ...6.[..........

04f0: 9f 87 87 43 92 37 65 07 0c 2a f6 41 58 45 93 0e ...C.7e..*.AXE..

0500: ef aa c2 3f 4f 55 4f b8 e4 b0 a2 4f d6 e7 b8 d3 ...?OUO....O....

0510: 87 da 37 0e 4d 00 55 c7 9b 97 2e 91 b5 17 84 23 ..7.M.U........#

0520: 65 33 dd 00 04 a0 30 82 04 9c 30 82 04 05 a0 03 e3....0...0.....

0530: 02 01 02 02 10 75 33 7d 9a b0 e1 23 3b ae 2d 7d .....u3}...#;.-}

0540: e4 46 91 62 d4 30 0d 06 09 2a 86 48 86 f7 0d 01 .F.b.0...*.H....

0550: 01 05 05 00 30 5f 31 0b 30 09 06 03 55 04 06 13 ....0_1.0...U...

0560: 02 55 53 31 17 30 15 06 03 55 04 0a 13 0e 56 65 .US1.0...U....Ve

0570: 72 69 53 69 67 6e 2c 20 49 6e 63 2e 31 37 30 35 riSign, Inc.1705

0580: 06 03 55 04 0b 13 2e 43 6c 61 73 73 20 33 20 50 ..U....Class 3 P

0590: 75 62 6c 69 63 20 50 72 69 6d 61 72 79 20 43 65 ublic Primary Ce

05a0: 72 74 69 66 69 63 61 74 69 6f 6e 20 41 75 74 68 rtification Auth

05b0: 6f 72 69 74 79 30 1e 17 0d 30 35 30 31 31 39 30 ority0...0501190

05c0: 30 30 30 30 30 5a 17 0d 31 35 30 31 31 38 32 33 00000Z..15011823

05d0: 35 39 35 39 5a 30 81 b0 31 0b 30 09 06 03 55 04 5959Z0..1.0...U.

05e0: 06 13 02 55 53 31 17 30 15 06 03 55 04 0a 13 0e ...US1.0...U....

05f0: 56 65 72 69 53 69 67 6e 2c 20 49 6e 63 2e 31 1f VeriSign, Inc.1.

0600: 30 1d 06 03 55 04 0b 13 16 56 65 72 69 53 69 67 0...U....VeriSig

0610: 6e 20 54 72 75 73 74 20 4e 65 74 77 6f 72 6b 31 n Trust Network1

0620: 3b 30 39 06 03 55 04 0b 13 32 54 65 72 6d 73 20 ;09..U...2Terms

0630: 6f 66 20 75 73 65 20 61 74 20 68 74 74 70 73 3a of use at https:

0640: 2f 2f 77 77 77 2e 76 65 72 69 73 69 67 6e 2e 63 //www.verisign.c

0650: 6f 6d 2f 72 70 61 20 28 63 29 30 35 31 2a 30 28 om/rpa (c)051*0(

0660: 06 03 55 04 03 13 21 56 65 72 69 53 69 67 6e 20 ..U...!VeriSign

0670: 43 6c 61 73 73 20 33 20 53 65 63 75 72 65 20 53 Class 3 Secure S

0680: 65 72 76 65 72 20 43 41 30 82 01 22 30 0d 06 09 erver CA0.."0...

0690: 2a 86 48 86 f7 0d 01 01 01 05 00 03 82 01 0f 00 *.H.............

06a0: 30 82 01 0a 02 82 01 01 00 95 c3 21 12 8e 40 c5 0..........!..@.

06b0: 0d 01 5f 76 5e 66 94 d9 73 2c 58 19 22 b8 c9 fc .._v^f..s,X."...

06c0: 7a 39 90 2a 77 72 7c 1d 3e f7 d8 55 e3 af 42 cb z9.*wr|.>..U..B.

06d0: 87 30 02 dc 5b ac 70 e6 b8 44 b4 2b 35 eb 93 d2 .0..[.p..D.+5...

06e0: 17 05 7e cb 46 d6 5c 53 a0 32 51 9d 74 64 58 f9 ..~.F.\S.2Q.tdX.

06f0: 0c 9a 00 ea 5e 44 49 64 72 f4 cd 10 e2 85 0a f9 ....^DIdr.......

0700: 34 ee b3 88 66 a9 a5 a4 5a d0 0e 98 7f 58 0d 2b 4...f...Z..X.+

0710: 52 bb 86 a9 7e 2e fa b2 48 7c 8d db 2d 5f 01 75 R...~...H|..-_.u

0720: a2 8d 06 3b 8b b4 61 07 c9 be 22 99 f8 1b d1 b5 ...;..a...".....

0730: 57 66 04 4d 35 f4 91 71 96 b5 99 08 25 9b 97 c8 Wf.M5..q....%...

0740: 3a f3 20 b1 dd 9e 98 0c 4a 63 b7 a6 ce b0 01 ce :. .....Jc......

0750: f8 93 6a f3 0c 6e 9f b1 e9 84 7b 81 98 41 e6 81 ..j..n....{..A..

0760: dc 3d 2c e7 b4 6b e3 9e fc 08 16 d7 b3 d5 b9 66 .=,..k.........f

0770: 12 99 7c 6d 71 c8 4d be c7 0f e3 fb 37 ad d5 75 ..|mq.M.....7..u

0780: 87 21 6b 86 d0 44 14 5a 54 79 39 96 69 56 c9 b9 .!k..D.ZTy9.iV..

0790: 31 cd 89 61 58 e1 d9 76 05 05 ad f7 b9 02 af a7 1..aX..v........

07a0: fd 47 91 a2 22 34 5a 31 d1 02 03 01 00 01 a3 82 .G.."4Z1........

07b0: 01 81 30 82 01 7d 30 12 06 03 55 1d 13 01 01 0a ..0..}0...U.....

07c0: 0a 08 30 06 01 01 0a 0a 01 00 30 44 06 03 55 1d ..0.......0D..U.

07d0: 20 04 3d 30 3b 30 39 06 0b 60 86 48 01 86 f8 45 .=0;09..`.H...E

07e0: 01 07 17 03 30 2a 30 28 06 08 2b 06 01 05 05 07 ....0*0(..+.....

07f0: 02 01 16 1c 68 74 74 70 73 3a 2f 2f 77 77 77 2e ....https://www.

0800: 76 65 72 69 73 69 67 6e 2e 63 6f 6d 2f 72 70 61 verisign.com/rpa

0810: 30 31 06 03 55 1d 1f 04 2a 30 28 30 26 a0 24 a0 01..U...*0(0&.$.

0820: 22 86 20 68 74 74 70 3a 2f 2f 63 72 6c 2e 76 65 ". http://crl.ve

0830: 72 69 73 69 67 6e 2e 63 6f 6d 2f 70 63 61 33 2e risign.com/pca3.

0840: 63 72 6c 30 0e 06 03 55 1d 0f 01 01 0a 0a 04 03 crl0...U........

0850: 02 01 06 30 11 06 09 60 86 48 01 86 f8 42 01 01 ...0...`.H...B..

0860: 04 04 03 02 01 06 30 29 06 03 55 1d 11 04 22 30 ......0)..U..."0

0870: 20 a4 1e 30 1c 31 1a 30 18 06 03 55 04 03 13 11 ..0.1.0...U....

0880: 43 6c 61 73 73 33 43 41 32 30 34 38 2d 31 2d 34 Class3CA2048-1-4

0890: 35 30 1d 06 03 55 1d 0e 04 16 04 14 6f ec af a0 50...U......o...

08a0: dd 8a a4 ef f5 2a 10 67 2d 3f 55 82 bc d7 ef 25 .....*.g-?U....%

08b0: 30 81 80 06 03 55 1d 23 04 79 30 77 a1 63 a4 61 0....U.#.y0w.c.a

08c0: 30 5f 31 0b 30 09 06 03 55 04 06 13 02 55 53 31 0_1.0...U....US1

08d0: 17 30 15 06 03 55 04 0a 13 0e 56 65 72 69 53 69 .0...U....VeriSi

08e0: 67 6e 2c 20 49 6e 63 2e 31 37 30 35 06 03 55 04 gn, Inc.1705..U.

08f0: 0b 13 2e 43 6c 61 73 73 20 33 20 50 75 62 6c 69 ...Class 3 Publi

0900: 63 20 50 72 69 6d 61 72 79 20 43 65 72 74 69 66 c Primary Certif

0910: 69 63 61 74 69 6f 6e 20 41 75 74 68 6f 72 69 74 ication Authorit

0920: 79 82 10 70 ba e4 1d 10 d9 29 34 b6 38 ca 7b 03 y..p.....)4.8.{.

0930: cc ba bf 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 ...0...*.H......

0940: 05 00 03 81 81 00 c3 7e 08 46 5d 91 36 cf 67 dc .......~.F].6.g.

0950: d7 a7 af af b8 22 c3 8b 04 74 d3 b1 60 bc e6 fe ....."...t..`...

0960: b7 44 12 81 5b 31 73 14 63 56 c6 72 2e d1 1a 03 .D..[1s.cV.r....

0970: 43 5c 38 0a 50 4a 4d cd da b6 19 a8 f4 99 0d af C\8.PJM.........

0980: e3 f7 d8 f1 75 28 65 f6 6a fe 9b f4 bd 52 d9 3f ....u(e.j....R.?

0990: cb da 16 cb a5 9e 2e 8e 66 52 78 3d 26 fa fe 94 ........fRx=&...

09a0: 36 88 4a 95 5e 2a 4c 19 ef 6e fa 82 3f 2d 03 ef 6.J.^*L..n..?-..

09b0: d6 28 b3 37 18 cf 42 b2 34 21 64 47 d3 20 6b 3a .(.7..B.4!dG. k:

09c0: 4c dc e6 03 90 0c L.....

== Info: SSLv3, TLS alert, Server hello (2):

=> Send SSL data, 2 bytes (0x2)

0000: 02 2a .*

== Info: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag

== Info: Closing connection #0

Al Gallegos | Data Services Engineer

Mesirow Financial Inc. | 321 North Clark Street, Chicago IL 60610

Desk 312.595.7072 | Fax 312.595.6901

www.mesirowfinancial.com

Visit us on the Web at: http://www.mesirowfinancial.com

This communication may contain privileged and/or confidential
information. It
is intended solely for the use of the addressee. If you are not the
intended
recipient, you are strictly prohibited from disclosing, copying,
distributing
or using any of this information. If you received this communication in
error,
please contact the sender immediately and destroy the material in its
entirety,
whether electronic or hard copy. Confidential, proprietary or
time-sensitive
communications should not be transmitted via the Internet, as there can
be no
assurance of actual or timely delivery, receipt and/or confidentiality.
This
is not an offer, or solicitation of any offer to buy or sell any
security, investment
or other product.

Please consider the environment before printing this e-mail.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-10-13