Hi,
I'm using vsftpd-2.0.7-5.1 for my FTPS server. I have enable ssl for the ftp connection in vsftpd.conf file. I have generate my certificate using this command:
Code:
openssl req -x509 -nodes -days 1825 -newkey rsa:1024 -keyout vsftpd.pem -out vsftpd.pem
and redirect the cert_file and private_file to those .pem file.
The problem is, my client still unable to connect to my FTPS server using core ftp client on windows, although I have sent them my public key which I generate using this command:
Code:
openssl x509 -in vsftpd.pem -out public.pem
Please tell me if I have done something wrong..
anyway here is my vsftpd.conf
Code:
write_enable=YES
dirmessage_enable=YES
nopriv_user=ftpsecure
local_enable=YES
local_umask=022
chroot_local_user=YES
anonymous_enable=NO
anon_world_readable_only=YES
syslog_enable=YES
connect_from_port_20=YES
pam_service_name=vsftpd
listen=YES
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
rsa_private_key_file=/etc/ssl/private/vsftpd.pem
ssl_enable=YES
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
pasv_min_port=30000
pasv_max_port=30100
Many thanks!