LFTP – Fatal error: Certificate verification: Not trusted


In server management tasks , LFTP  is the most used tools by expert system administrators while downloading  files via ftp. Few days back when I was trying to download files using LFTP it got the below error

Fatal error: Certificate verification: Not trusted

To resolve this issue we have to simply disable the certificate verification. But LFTP doesn’t provide this option via command line. So we will have to disable it in LFTP configuration file /etc/lftp.conf.  Just append the below line in the configuration file.

set ssl:verify-certificate no


Sreejit is the founder of Server Management Plus. His motto is "If there's an easier way, Why do it any other way" and following it, he has created a lots of automation scripts for the company using which we are able to resolve issue at an extremely fast rate and save lots of time. He has a very keen interest in new technologies and spend most of his free time online researching about it apart from listening music and watching movies.