Home > Vesta > Enabling SSL for Vesta VSFTPD

Enabling SSL for Vesta VSFTPD

  1. Copy the certificate files to /etc/ssl/certs
  2. Edit the VSFTPD config: vi /etc/vsftpd/vsftpd.conf
  3. rsa_cert_file=/etc/ssl/certs/certificate.crt
    rsa_private_key_file=/etc/ssl/certs/certificate.key
    ssl_enable=YES
    allow_anon_ssl=NO
    force_local_data_ssl=NO #set this to yes to force SSL
    force_local_logins_ssl=NO #set this to yes to force SSL
    ssl_tlsv1=YES
    ssl_sslv2=NO
    ssl_sslv3=NO
    require_ssl_reuse=NO
    ssl_ciphers=HIGH
  4. service vsftpd restart

Then in order to test, run FileZilla with the following connection settings

image

Once connected, look at the log and confirm that TLS/SSL connection is established

 

image

Advertisements
Categories: Vesta
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: