Hodžův blog

24 Čvc

lftp – Fatal error: Certificate verification: Not trusted

I always get an error:
$ lftp user@server:/directory
Password:
ls: Fatal error: Certificate verification: Not trusted

To fix this issue run simple command in lftp shell
set ssl:verify-certificate no
or disble certificate verification in lftp configuration file
echo "ssl:verify-certificate no" >> ~/.lftp/rc

Leave a Reply

Hodžův blog is is proudly powered by Wordpress and the Magellan Theme