cURL / Mailing Lists / curl-users / Single Mail


Re: gnutls_handshake() failed: -8

From: Dan Fandrich <>
Date: Wed, 25 Jan 2006 12:12:53 -0800

On Wed, Jan 25, 2006 at 02:55:04PM -0500, Dorr, Brad wrote:
> We are running on AIX 5.2 Unix platform. I have install curl successfully, but I cannot get a connection to a vendors site. I am trying to get a SSL FTP connection. Below is the curl command I ran and the results. Can you help with the handshake error that I am getting. I have run out of options. Is there something the certificate which I got from the vendor or something else going on? Any direction or help would be great. I did get curl to work connecting to another Unix server via ftp so I know curl works ok.

What version of curl?

> Thanks,
> Brad Dorr.
> # curl --cert-type PEM --cacert /opt/TWWfsw/curl715/share/veriroot_b64_cnvrt.pem -vu DCH00YU:PHNSrock ftps://

Great password. I hope you don't use it for anything but your cert.

> * About to connect() to port 11250
> * Trying connected
> * Connected to ( port 11250
> * found 1 certificates in /opt/TWWfsw/curl715/share/veriroot_b64_cnvrt.pem
> * gnutls_handshake() failed: -8
> * Closing connection #0

You don't want ftps: here. That will encrypt the control channel, which this
server doesn't want. You want a plain ftp: URL here and the --ftp-ssl option
to negotiate SSL in the ftp session.

> Segmentation fault(coredump)

This is always bad. Can you run this under a debugger and see where it fails?

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-01-25