I am setting up my own FTP server on a Raspberry Pi (OS : debian wheezy). I have installed vsftpd, and I wanted to secure it with SSL/TLS (it worked well when ssl is disabled).
[following sections were edited]
I followed the tutorial here: http://crunchtools.com/vsftpd-ssl/. I tried a connection with FileZilla, but I had the error:
Status: Connecting to 192.168.1.17:21... Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.3.5)
Command: AUTH TLS
Response: 234 Proceed with negotiation.
Status: Initializing TLS...
Error: Received TLS alert from the server: Handshake failed (40)
Error: Could not connect to server
My Raspberry Pi and my PC are on the same LAN: I typed
ftpes://192.168.1.17 in the FTP field in FileZilla. This is the RaspPi local IP address.
A solution might be sftp (it works), but I don't want to use the ssh port for that.
Edit: I tried WinSCP, and it worked. So the problem comes from FileZilla. I typed the following command to generate the cert file:
openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/vsftpd/vsftpd.pem -out /etc/vsftpd/vsftpd.pem
and it seems to be secure. I am checking the encryption algorithms supported by FileZilla.
Thank you