Certificate Installation: vsftpd
Combine your certificate and CA certificate(s) into one file (e.g. your.server.pem).
Note: If you are unsure of how to do this, please use the following instructions: CSR Generation: Using OpenSSL
Move the file created, as a result of the previous step, to the location where you store certificates (Examples: /usr/share/ssl/certs/, /etc/ssl/certs/)
Move your private key, that you created when you generated your CSR, to the location where you store private keys. (e.g. /etc/ssl/certs/private/)
Update 'vsftpd.conf' in your favorite text-editor with:
rsa_cert_file = /path/to/your.server.pem
rsa_private_key_file = /path/to/your.key
Restart vsftpd.
Examples:
/etc/init.d/vsftpd restart
OR
OR
killall vsftpd
vsftpd
Your vsftp server is now secured through SSL/TLS.
Related Articles