curl returns Error 56 and SSL read: errno -12205 when using FTPS
Issue
curlreturns Error 56 and SSL read: errno -12205 when using FTPS- When using
curlto transfer files with SSL,curlreturns error 56 with no directory listings but any file transfers appear to complete successfully.
$ curl --cert /home/username/ssl_keys/cert.crt:'password' \
--key /home/username/ssl_keys/cert.key \
--user username":"password -k -P "10.0.0.1" \
--ftp-ssl-reqd -l ftp://ftps.example.com/
curl: (56) bind(port=0) failed: Cannot assign requested address
Environment
- Red Hat Enterprise Linux 6.1 to 6.4
curl-7.19.7-26.el6_2.4libcurl-7.19.7-26.el6_2.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.