What exact option, set where? Also beware that some destination types tend to lose their advanced options on the Destination screen on an edit-again, and the workaround is to set on Options screen.
Might as well check a recent copy of the help text too. Sometimes it’s more current than the manual.
C:\ProgramData\Duplicati\duplicati-2.0.6.101_canary_2022-03-13>Duplicati.CommandLine.exe help aftp
Alternative FTP (aftp):
This backend can read and write data to an FTP based backend using an
alternative FTP client. Allowed formats are "aftp://hostname/folder" or
"aftp://username:password@hostname/folder"
Supported options:
--auth-password (Password): Supplies the password used to connect to the
server
The password used to connect to the server. This may also be supplied as
the environment variable "AUTH_PASSWORD".
--auth-username (String): Supplies the username used to connect to the
server
The username used to connect to the server. This may also be supplied as
the environment variable "AUTH_USERNAME".
--disable-upload-verify (Boolean): Disable upload verification
To protect against network or server failures, every upload will be
attempted to be verified. Use this option to disable this verification to
make the upload faster but less reliable.
--aftp-data-connection-type (Enumeration): Configure the FTP data connection
type
If this flag is set, the FTP data connection type will be changed to the
selected option.
* values: AutoPassive, PASV, PASVEX, EPSV, AutoActive, PORT, EPRT
* default value: AutoPassive
--aftp-encryption-mode (Enumeration): Configure the FTP encryption mode
If this flag is set, the FTP encryption mode will be changed to the
selected option.
* values: None, Implicit, Explicit
* default value: None
--aftp-ssl-protocols (Flags): Configure the SSL policy to use when
encryption is enabled
This flag controls the SSL policy to use when encryption is enabled.
* values: None, Ssl2, Ssl3, Tls, Default, Tls11, Tls12, Tls13
* default value: Default
--aftp-upload-delay (Timespan): Add a delay after uploading a file
Some FTP servers need a small delay before reporting the correct file
size. The required delay depends on network topology. If you experience
errors related to the upload size not matching, try adding a few seconds
delay.
* default value: 0s
So you probably wanted aftp-ssl-protocols changed off of Default, not allowed-ssl-versions.
Which key? I’m not super expert, but there appear to be private, public, and shared encryption keys.
The Illustrated TLS Connection is one complete but fairly readable (compared to the RFCs) writeup.
Securing FTP with TLS seems to be the RFC to read for protocol info, and it cites some earlier ones.
Raspberry Pi OS seems to be Debian-based, so maybe Pure-FTPd on a similar non-PI system will do.
TLS 1.3 is also quite different from 1.2, and for testing purposes it might be best to see if 1.2 can work.
Regarding cipher suite interaction, the best view is probably from Wireshark capturing port 21 traffic…
I think it’s ordinarily possible to probe the server (might need to aim at the implicit port for that here…).