admin avatar

lftp Fatal error: Certificate verification: certificate的解决方法

🕔 by admin

使用she'll执行lftp命令时出现了下面错误

1
cd: Fatal error: Certificate verification: certificate common name doesn't match requested host name

解决方法,查找lftp.conf

然后添加以下代码进去即可

1
2
set ssl:verify-certificate no
set ftp:ssl-allow off

写一条评论