LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-22-2011, 03:59 AM   #1
arfal
Member
 
Registered: Aug 2009
Posts: 30

Rep: Reputation: 0
[ASK] FTPS Server Public Key Problem


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-25-2011, 06:51 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
Is the key signed? Does the ftp client actually DO public key tranfers? There is such a thing as incompatibility.

You need to get the FTP client and figure it out.
 
Old 02-27-2011, 12:02 PM   #3
arfal
Member
 
Registered: Aug 2009
Posts: 30

Original Poster
Rep: Reputation: 0
Hi, thanks for for your reply. Could you please give me a short tutorial how do I sign my key? Yes, core ftp lite software was able to do the public key transfer
 
Old 02-27-2011, 07:48 PM   #4
moodah
LQ Newbie
 
Registered: Sep 2010
Posts: 15

Rep: Reputation: 1
Use an external business internet connection to connect to your ftp server to test. Off the top of my head, Filezilla lets you specify 'ftp, sftp, ftps and ftpes'.. FTPES will work with vsftp since that is how I tested vsftp when I set it up myself, though, I havent configured it to require the clients having the public key.
 
Old 03-01-2011, 01:28 AM   #5
arfal
Member
 
Registered: Aug 2009
Posts: 30

Original Poster
Rep: Reputation: 0
ftpes:// with filezilla works fine.. But my client still want my public key, I have no idea what program do they used to connect to my ftps server
 
  


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
FTPS Server public key arfal Linux - Server 2 02-24-2011 09:31 PM
SSH with passwordless public/private key not working on another account on server infocom Linux - Server 14 12-27-2010 06:09 AM
Putty/SSH login failed when using RSA public key: 'Server refused our key' itsecx@gmail.com Linux - Server 10 10-04-2010 02:19 PM
public key authentication for ssh - linux client to winxp server cdaaawg General 6 03-10-2008 05:38 PM
ssh public key problem Lotharster Linux - Networking 3 12-28-2005 09:18 PM

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

All times are GMT -5. The time now is 02:26 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