Help with lftp

i downloaded lftp to connect to a TLS FTP server
the goal is to send all log filesstored in a localfolder to a tls ftp server
when i connect i always have the error
mirror: Fatal error: Certificate verification: unable to get l
ocal issuer certificate (FF:52:A7:F2:58:CD:AD:A2:A3:4E:B7:C1:E1:32:97:63:16:78:1

so how to use it ?
and after i want to add crontab for my command

When using TLS you need to verify the certificate of the server. That is what the error is saying, could not verify the certificate. You need to edit the /etc/lftp.conf file and add this line:

set ssl:ca-file "/etc/ssl/certs/ca-certificates.crt"

You must then also copy the ca of the server to your router as /etc/ssl/certs/ca-certificates.crt

Should work after that :slight_smile:

i can not find /etc/lftp.conf