has an example command line you can try to adapt, and some other mono troubleshooting information.
You can also try finding out what certificate chain QNAP is actually using. Maybe it’s not Let’s Encrypt?
openssl s_client -connect <host>:<port> and look at what kind of certificates QNAP is sending.
Start looking at the summary at top. Below is detaila that we don’t care about now. Type Q to quit early.
Maybe that’s because port 21 isn’t TLS by default? Explicit FTPS can do TLS over port 21, because at some point it asks the connection to change to TLS. Implicit FTPS is over port 990 and is purely TLS from the get-go. (At least that’s how I understand it.)
Took some time to read up on SSL matter, so I have a somewhat clear view on anything QuFTP, i.e. the FTP server of QNAP. QuFTP offers two flavours: standard FTP and FTP with explicit SSL/TLS. I mistook the former for vanilla FTP, but the manual makes clear it features implicit SSL/TLS, and it seems to work with Duplicati. The standard installed certificate is self-signed by QNAP, and it does not work with Duplicati.
edit: I created/signed my own certificates, and explicit ssl/tls seems to work,
That shouldn’t be a problem. You just need to trust the certificate’s hash. (At least this is what I’ve done with other protocols that use a TLS layer, I haven’t done it with FTPS myself.)
What happens now when you go to the page 2 of your backup destination, configure it for implicit FTPS (eg, port 990), and then press the Test Connection button?
Explicit FTPS is working now with my new certificate. I can set the server to use port 21 or 990: they both work. I’m not sure whether it makes sense to “accept any SSL certificate”, but, yes, this works too.