lftp Fatal error: Certificate verification: Not trusted
When i connect to an FTP server, i get following error
1 2 3 4 5 6 7 |
root@hestia-lnx:~# lftp -u sokftp 54.37.215.1 Password: lftp sokftp@54.37.215.1:~> dir ls: Fatal error: Certificate verification: Not trusted lftp sokftp@54.37.215.1:~> ls -la ls: ls -la: Fatal error: Certificate verification: Not trusted lftp sokftp@54.37.215.1:~> |
To fix this, run
1 |
set ssl:verify-certificate no |
You can add this to /etc/lftp.conf to make this permanant
1 |
vi /etc/lftp.conf |
Add
1 |
set ssl:verify-certificate no |
See lftp