Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Problems connecting to a ftpserver using SSL/TLS

From: Daniel Stenberg <>
Date: Fri, 13 Feb 2009 08:17:57 +0100 (CET)

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

> I tried your suggestion but still got that annoying ASN1 error:
> [user@server]$ curl -v --tlsv1 --ftp-ssl -uUSER:PASS
> * About to connect() to port 21

> * error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
> * Closing connection #0
> curl: (35) error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
> I get the samething if I try using: --sslv3, and if I use --sslv2 I got
> "Unknown SSL protocol error in connection"

Googling for this specific error, I found this interesting reply (by Dan
Fandrich) to a very similar question:

Basically the advice would be to try out with a newer OpenSSL.


List admin:
Received on 2009-02-13

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET