curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

FTPS session resumption on older curl-Version

From: Joscha Knobloch via curl-library <>
Date: Thu, 28 Oct 2021 09:08:45 +0000


We have switched our FTP-Server and the new one makes TLS session reuse mandatory.
This works great with most clients.

However we have a CentOS7 server that is not able to connect to the data channel.
It has the following curl version:
curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0
When trying to connect to the data channel it says:
< 425 Unable to build data connection: TLS session of data connection not resumed.
* server did not report OK, got 425

This is working fine with the local installation of curl on my mac with the following version:
curl 7.64.1 (x86_64-apple-darwin20.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.41.0

In wich version was this fixed? I am not sure if i am looking in the right place because the entry from 6be2804<> is still there on the latest tag of curl which is far newer than my local installation.

How would you go about updating curl to a newer version on CentOS7? Is there a repository that could be added?

Kind Regards
Joscha Knobloch

  • application/pkcs7-signature attachment: smime.p7s
Received on 2021-10-28