It is a error when I tried to connect an FTP server by LFTP tool.

Fatal error: Certificate verification: Not trusted

I did a search on Google and find the answer.

There is self signed certificates which is used by TLS on a ftp connection. It is not trused and error comes.

Of course, the connection is closed on error, and no more further put or get command can be used.

To bypass this message, or ignore this error, add following content in a file ~/.lftp/rc

set ssl:verify-certificate no

David Yin

David is a blogger, geek, and web developer — founder of If you like his post, you can say thank you here

Leave a Reply

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