cURL / Mailing Lists / curl-users / Single Mail


Re: Problems connecting to a ftpserver using SSL/TLS

From: Daniel Stenberg <>
Date: Thu, 12 Feb 2009 14:26:00 +0100 (CET)

On Thu, 12 Feb 2009, Joacim Mårtensson wrote:

> curl: (35) error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
> Does anyone knows whats this means or how to troubleshoot it further?

I think your idea of trying to force TLSv1 is a good idea.

> If I try connecting with TLS I got this:
> [user@server]$ curl -v -tlsv1 -uUSERNAME:PASSWORD

Well, --tlsv1 (note the double dashes) just sets your SSL/TLS preference. You
then need to use --ftp-ssl as well to tell curl to speak FTPS.


List admin:
Received on 2009-02-12