LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   FTPS Server public key (https://www.linuxquestions.org/questions/linux-server-73/ftps-server-public-key-864211/)

arfal 02-21-2011 10:26 PM

FTPS Server public key
 
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!

kbp 02-22-2011 03:48 PM

I don't think the MS ftp client supports FTPS ...

arfal 02-24-2011 08:31 PM

Okay, how do I tested from my local network? I'm using lftp client on linux and it's work, but if I'm using lftp, I don't have to send the ftps public key. Otherwise my client still need the public key


All times are GMT -5. The time now is 02:00 AM.