You can check what your server supports by using nmap: $ nmap -script ssl-enum-ciphers -p 21 This error is explained here:, tl dr debian now requires at least TLS 1.2. Test if you can connect with openssl: $ openssl s_client -starttls ftp -connect :21ġ40140192228416:error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol./ssl/statem/statem_lib.c:1940: In my case the problem was caused by the server only supporting depreciating versions of TLS that are not supported by modern distributions. Machine login myspecificuser password my-specific-password-not-this-one-of-course notice that syntax is open inside commands, and not lftp -c instead of -e will execute full command then exit lftp, alternatively add quit.Short version set ssl:verify-certificate/FI:NG:ER:PR:IN:T:HE:RE noįull, tested, working, version For interactive sessions This question trust server certificate with lftp mentions this comment FTP SSL/TLS certificate handling #214 on lftp github site which looks much better. Warning: other answers here destroy connection securityĪll those answers that invite to disable certificate verification definitely weaken security as they make the connection vulnerable to man-in-the-middle attacks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |