Issue – connecting to a FTPS server with a shared SSL certificate, like cPanel. Here is the solution
- Create a file named rc in ~/.lftp and add the line:
set ssl:verify-certificate no
- connect to FTPS server using lftp command
lftp -u user hostname.example.com
How to install lftp:
sudo apt install lftp
or
yum install lftp -y