lftp Fatal error: Certificate verification: Not trusted

When i connect to an FTP server, i get following error

root@hestia-lnx:~# lftp -u sokftp 54.37.215.1
Password: 
lftp [email protected]:~> dir                   
ls: Fatal error: Certificate verification: Not trusted
lftp [email protected]:~> ls -la
ls: ls -la: Fatal error: Certificate verification: Not trusted
lftp [email protected]:~>

To fix this, run

set ssl:verify-certificate no

You can add this to /etc/lftp.conf to make this permanant

vi  /etc/lftp.conf

Add

set ssl:verify-certificate no

See lftp

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *