LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Enabling ssl in vsftpd on Slackware 13.37 (https://www.linuxquestions.org/questions/slackware-14/enabling-ssl-in-vsftpd-on-slackware-13-37-a-4175413348/)

dgrames 06-25-2012 07:28 PM

Enabling ssl in vsftpd on Slackware 13.37
 
I am having problems enabling ssl in vsftpd
For a non ssl connection I can connect ok, but when I enable
ssl the vsftpd log shows the initial connection but my ftp client
says the connection fails. I am using FileZilla which should be ok.
I was hoping someone has some experience with this in Slackware.

FileZilla was built with the SBO build script.

I have port 20, 21, 989, 990 open in the firewall

This is my vsftpd configuration.

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
pasv_max_port=63000
pasv_min_port=62500
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
idle_session_timeout=600
data_connection_timeout=120
nopriv_user=ftp
chroot_local_user=YES
ls_recurse_enable=YES
listen=NO

ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
rsa_private_key_file=/etc/ssl/certs/vsftpd.key
ca_certs_file=/etc/ssl/certs/vsftpd-ca.pem
ssl_ciphers=HIGH

Thanks in advance.

Don

dgrames 06-26-2012 08:18 AM

Hi all,

found my own answer thanks to the proftpd website

added these lines to the end of my vsftpd.conf file

pasv_promiscuous=YES
pasv_enable=yes
ssl_request_cert=NO
require_ssl_reuse=NO

and it all works now.


All times are GMT -5. The time now is 10:29 AM.