$ lftp email@example.com:/directory
cd: Fatal error: Certificate verification: Not trusted
$ cat ~/.lftp/rc
set ssl:verify-certificate no
This tip saved my day, thank you!
Mine too! Thanks!
thanks alot <3
You're a life saver.
Mine too! Thanks a bunch.
Thanks a lot !
Thanks a lot. This helped me, but I got the next error as "Access failed : 521 Data connection cannot be opened with this PROT setting." Please help !
Thanks a lot
No such file or directory.
Thank you very very much!!!
My life saver for my backup mirroring script with lftp. I just had to rebuild my server and it too me a while to find this again! Excellent.
If the file doesn't exist, just create a file with the filename 'rc' and with only 1 line in it 'set ssl:verify-certificate no' in the config-directory.
Oh just put it globally in /etc/lftp.conf
Quite right. Thank you !
solved the problem, many thanks
shew! saved my bacon. thanks!
Thank you :)
thanks work for me (ubuntu)nano /etc/lftp.confadd this line :set ssl:verify-certificate no
Why if this is such a simple fix is it not the default setup? Strange, but thanks for the fix.
because it's insecure
Because default setting is assuming that the certificates will be signed by public certificate authority. Real solution are authorities as https://letsencrypt.org/
I'm a vegetarian. Saved my lettuce! Thank you!
after doing as suggested, I am still getting the same error in centos 7
Sorry for the noobiness. Where do I find the lftp folder? Typing the command just says no such file or directory.