Curl fails to transfer files to or from some FTPS servers

Solution Verified - Updated -

Issue

  • Data transfers to or from some FTPS servers fail using curl.
  • The utility terminates with error.
  • The following errors were observed:

    curl: (35) Encountered end of file
    

    or

    curl: (18) NSS: client certificate not found (nickname not specified)
    

    Please note that those errors are not a complete list of possible errors, and those errors themselves do not confirm or deny one is hitting this particular issue. Kindly see the Diagnostic Steps section for further details.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • curl or other FTPS client with NSS SSL/TLS backend

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.