cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl: Problem when connect to a shared hosting server over ftp+ssl

From: Nick Zitzmann <nick_at_chronosnet.com>
Date: Mon, 4 Feb 2013 20:26:19 -0700

On Feb 4, 2013, at 7:14 PM, chu ngoc hung <hungcn_at_gmail.com> wrote:

> Thanks for your rely,
>
> Yes, I use to connect to my host only for research purpose, and I've got a success result for a FTP-SSL connection to connect to my local server (self-signed certificate).
> With current server (dysoft-mobile.com) when i disable host or peer verification the connection is always timeout (both EPSV and PASV)
> I've got the same result with FileZilla client but when I use Cyberduck client the result is OK (although it alert me that the certificate is invalid before it connect success).
> And I use explicit FTP-SSL because this server support this type only.

I guess the next step, then, is to compare the connection transcripts with the different clients and find out what Cyberduck is doing differently than Curl, and report back if you find anything. If you can't get accurate connection transcripts, you may need to use a man-in-the-middle proxy to decode the connections… Obviously TLS/SSL connection debugging is not as easy as clear-text connection debugging.

Nick Zitzmann
<http://www.chronosnet.com/>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-05