cURL / Mailing Lists / curl-users / Single Mail

curl-users

Error connecting with curl

From: Perrin, Brandon S <brandon.s.perrin_at_lmco.com>
Date: Tue, 05 Jun 2007 14:55:01 -0400

Have been unable to find a cause and solution for the following issue.

 

We have an automated job running on an HP Unix B.11.11 server using the
cURL command line tool version 7.15.1

 

About a month ago the server we were connecting to moved. After this
migration we started seeing the following error when trying to make a
connection and upload a file.

 

curl: (35) error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong
tag

 

The syntax I am using to upload the file is :

 

curl -v --ftp-ssl -1 -k --user <UserID>:<password>
ftp://<ServerIPAddress> -T test.txt

 

and the verbose log shows the following :

 

* About to connect() to <IP Address> port 21

* Trying <IP Address>... connected

* Connected to <IPAddress> (<IP Address>) port 21

< 220 ProFTPD 1.2.10 Server (SelectMinds Secure FTPd) [10.0.2.11]

> AUTH SSL

< 234 AUTH SSL successful

* successfully set certificate verify locations:

* CAfile: /opt/iexpress/curl/share/curl/curl-ca-bundle.crt

  CApath: none

* SSLv3, TLS handshake, Client hello (1):

SSLv3, TLS handshake, Server hello (2):

SSLv3, TLS handshake, CERT (11):

SSLv3, TLS alert, Server hello (2):

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

 

Any information on what is causing this issue would be appreciated.

 

Thanks,

 

 

Brandon Perrin

Gateway Exchange Services

Systems & Process Management

Corporate Shared Services

Lockheed Martin

985-386-6068

 
Received on 2007-06-05