curl-library
RE: ftps using curl to filezilla server
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 10 Oct 2006 11:06:48 +0200 (CEST)
Date: Tue, 10 Oct 2006 11:06:48 +0200 (CEST)
On Tue, 10 Oct 2006, kuriakose wrote:
Please don't top-post.
> The error code I get is 35. libcurl version I use is curl-7.15.3 . The OS is
> Windowx Xp .
> The easy options I set for ftps are
> CURLOPT_SSL_VERIFYPEER ,TRUE
> CURLOPT_CAINFO,"certificate.crt"
> CURLOPT_CAPATH,"."
> CURLOPT_SSL_VERIFYHOST,1
Well, the error
"error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number"
makes it sound like the server wants sslv2 perhaps.
> In Filezilla there is an option to create certificate . I am giving that
> certificate ( certificate.crt ) as CAINFO option .
I doubt that is correct. You want a CA cert (bundle) for the CAINFO option,
not a mere "certificate".
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-10-10