cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: how to use ftps

From: Armel Asselin <asselin.armel_at_wanadoo.fr>
Date: Tue, 14 Nov 2006 23:09:45 +0100

>I have the following configuration:
> Server -> FileZilla, windows XP
> Client -> LibcURL with OpenSSL, windows XP
>
> I create a certificate on the server using FileZilla.
> I have no clue what should be the next step, in order to
> be able to connect from the client.
>
> Do I copy FileZilla certificate to the client and use
> curl_easy_setopt(curl, CURLOPT_SSLCERT, path to FileZilla's certificate)?
>
> I also tried
> curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, FALSE)
> but I got "certificate verify failed" error.
>
> I have no clue what to do.
FileZilla does not handle "ftps://" as libcurl, use ftp:// with explicit
AUTH TLS command (CURL_OPT<something=SSL?>AUTH_TLS)

Armel
Received on 2006-11-14