cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problems connecting to a ftpserver using SSL/TLS

From: Daniel Stenberg <daniel_at_haxx.se>
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 ftp://ftps.xxxxxx.se:21

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.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-12