Back to ITRS Internal Only FAQ

Internal documentation only

This page has been marked as draft.

FTP-based run of op5-backup to a Filezilla FTP server (hosted on Windows) ends in error

When running backup specified as FTP it fails on not trusting certificate. FTP server is Filezilla 1.5.1, on a Windows OS and it has a self-signed certificate.

Sample Debug logs**:**

2024-04-10 10:04:29 DEBUG - Command arguments: -v -t ftp
2024-04-10 10:04:29 DEBUG - WORKDIR: /var/lib/op5-backup/20240410-100429
2024-04-10 10:04:29 DEBUG - REPO DIR: /etc/op5-backup/modules
2024-04-10 10:04:29 DEBUG - dont_override_conf: 1 (0 = override settings in /etc/op5-backup/main.conf)
2024-04-10 10:04:29 DEBUG - interactive mode (1|0): 0
2024-04-10 10:04:29 INFO - Backup job started
2024-04-10 10:04:29 INFO - Found Rocky Linux 8.9 (Green Obsidian) operating system
2024-04-10 10:04:30 ERROR - Failed remote connection to FTP server <IP_address>:
2024-04-10 10:04:30 ERROR - ftp: ls: ls .: Fatal error: Certificate verification: The certificate is NOT trusted. The certificate issuer is unknown. The certificate chain uses expired certificate. (48:FA:97:A5:37:94:ED:A9:FB:DF:74:59:0C:2A:8E:B7:F2:18:35:0F)
2024-04-10 10:04:30 ERROR - Unable to logon to the remote host. Please check your settings!. Exit code: 22
2024-04-10 10:04:30 ERROR - Backup process aborted. Exit code: 22

Resolution / Workaround:

Consider setting the following parameters in /etc/lftp.conf:

set ssl:verify-certificate no
set ftp:ssl-allow false
["Geneos"] ["FAQ"]

Was this topic helpful?