LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-21-2011, 10:26 PM   #1
arfal
Member
 
Registered: Aug 2009
Posts: 30

Rep: Reputation: 0
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!
 
Old 02-22-2011, 03:48 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
I don't think the MS ftp client supports FTPS ...
 
Old 02-24-2011, 08:31 PM   #3
arfal
Member
 
Registered: Aug 2009
Posts: 30

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH with passwordless public/private key not working on another account on server infocom Linux - Server 14 12-27-2010 05:09 AM
Putty/SSH login failed when using RSA public key: 'Server refused our key' itsecx@gmail.com Linux - Server 10 10-04-2010 01:19 PM
public key authentication for ssh - linux client to winxp server cdaaawg General 6 03-10-2008 04:38 PM
Revoking GPG key with only passphrase and public key djib Linux - Security 2 03-13-2007 03:20 AM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration