Enabling encryption in vsftpd

For the past few days I’ve been struggling with enabling SSL (actually TLS) encryption in vsftpd. I followed the directions, but every time I try to connect it gives the message

Connected to xx.xx.xx.xx:21
220 (vsFTPd 2.0.4)
USER anonymous

530 Anonymous sessions must use encryption.
Disconnecting from site xx.xx.xx.xx

(Several hours later)

Apparently it’s not a problem with vsftpd. ftp -z ssl xx.xx.xx.xx works fine. It’s just the ftp clients I tried (gFTP and Filezilla) don’t encrypt the connection. For gFTP I found an FAQ entry that says

You must add the public key of your self signed CA to your OpenSSL certs directory.

but I’ve done that, because I had to put it there for vsftpd to use it!

Edit: Firefox apparently doesn’t have support. That’s annoying.

Comments are closed.

Bad Behavior has blocked 331 access attempts in the last 7 days.