Setting up VSFTPD (force SSL?)

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Setting up VSFTPD (force SSL?)
# 1  
Old 10-02-2009
Error Setting up VSFTPD (force SSL?)

Hi all,

Im having trouble setting up an FTP server and forcing SSL. At the moment i can connect to the server externally using normal FTP but when i try FTP with SSL i get

STATUS:> [02/10/2009 08:54:16] Connected. Exchanging encryption keys...
ERROR:> [02/10/2009 08:54:16] SSL: Error in negotiating SSL connection.

My VSFTPD config looks like this...


I want it to be as secure as possible and i want to force secure connections?

What am i doing wrong? As far as im aware the ports are open... Smilie

Last edited by Yogesh Sawant; 10-08-2009 at 05:31 AM.. Reason: added code tags
# 2  
Old 10-02-2009
Did you check that /usr/share/ssl/certs/vsftpd.pem is there? Or if you want to use your own certificate, did you specify the correct path with the 'rsa_cert_file' option? You can also set 'debug_ssl' to a true value, to get some diagnostics to the log file.
# 3  
Old 10-02-2009
I have created my own Certificate and directed both the 'rsa_cert_file' option? and the 'rsa_private_key_file' option to the new certificate which is stored inside /etc/vsftpd/____.pem
# 4  
Old 10-02-2009
Are you able to do local ftp? What ftp client are you using?
# 5  
Old 10-05-2009
I am able to connect to the server from another (old windows) ftp server using CoreFTP 8.3 using normal FTP... when i try and connect using Explicit FTP SSL it comes back with ...

*** CuteFTP 8.3 - build Aug 25 2008 ***

STATUS:> [05/10/2009 12:36:41] Getting listing ""...
STATUS:> [05/10/2009 12:36:41] Connecting to FTP server... *******:21 (ip = ***********)...
STATUS:> [05/10/2009 12:36:41] Socket connected. Waiting for welcome message...
[05/10/2009 12:36:42] 220 Welcome to ************
STATUS:> [05/10/2009 12:36:42] Connected. Authenticating...
COMMAND:> [05/10/2009 12:36:42] AUTH TLS
[05/10/2009 12:36:42] 234 Proceed with negotiation.
STATUS:> [05/10/2009 12:36:42] Establishing SSL session...
STATUS:> [05/10/2009 12:36:42] Connected. Exchanging encryption keys...
ERROR:> [05/10/2009 12:36:42] SSL: Error in negotiating SSL connection.

I have attempted to recreate and mess about with settings so many times now i have no idea what it could be? Really need some help with this one.

---------- Post updated at 06:41 AM ---------- Previous update was at 06:40 AM ----------

STATUS:> [05/10/2009 12:36:42] Establishing SSL session...
STATUS:> [05/10/2009 12:36:42] Connected. Exchanging encryption keys...

Does this mean that it has connected on the SSL port?
Which port would this be?????
Is it random?

Last edited by Yogesh Sawant; 10-08-2009 at 05:31 AM.. Reason: added code tags
# 6  
Old 10-07-2009
Just the close the thread, i found the issue. It was firewall related.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Apache wildcard ssl on subdomain serves same page for non ssl virtualhosts

Issue observed: I have configured using widlcard ssl cert. When I hit it loads website! please advise if I missed any concept / configs... Thank you! httpd.conf <VirtualHost *:80> ServerName ServerAdmin... (0 Replies)
Discussion started by: ashokvpp
0 Replies

2. AIX

Setting root pasword to null with force change on first login

Greetings All I have a specific use case: for the deployment of a standard AIX Golden Image via mksysb, I have been requested to set the root user password to NULL with forced change on first login. Currently the admins need to remember when the Golden Image mksysb was created to calculate the... (5 Replies)
Discussion started by: milegrin
5 Replies

3. UNIX for Advanced & Expert Users

Does vsftpd support user access with client certificate with priv/pub key + vsftpd certificate?

:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl. I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key. I don't see google posts about the my plan... (4 Replies)
Discussion started by: gogogo
4 Replies

4. Red Hat

Force ssl/ssh to use the hosts file

does anyone know how to force ssh/ssl to use the hosts file instead of DNS? I have disabled the DNS servers but ssh still will not resolve a host in the hosts file. thanks in advance for the help! DS (3 Replies)
Discussion started by: derrell simpson
3 Replies

5. Programming

setting netbeans to ignore from expired ssl certificate

Hi, I am not sure this is the correct section. My question is not directly about programming about developing IDE. I am using netbeans to develop my project. I created a new project from a remote server. I have set all the details. One problem is that the server ssl has already expired... (0 Replies)
Discussion started by: programAngel
0 Replies

6. UNIX for Dummies Questions & Answers

vsftpd with SSL

Hi there. Im studying and i've got an exercise that i cannot fully understand. Im trying and testing, but it didnt works What i need to configure ftps ( vsftpd ) with openssl? (1 Reply)
Discussion started by: andriusman
1 Replies

7. Red Hat

vsftpd with ssl support on rhel5 64 bit

Hi Friends, I am trying to configure vsftpd server 2.0.5 on rhel5 64 bit installation. I am getting an error when initiating an ssl connection. I am using filezilla 3.0 ftp client. Client is specifically using passive mode connection. I can see the client is able to connect to the server,... (0 Replies)
Discussion started by: arumon
0 Replies

8. UNIX for Dummies Questions & Answers

VSFTPD & SSL Certificates

Hello all :b: I need a little advice on securing my VSFTPD server. I currently have it setup and working using a self signed certificate by following instructions on the net and im happy with it to a certain extent. One of my clients is not... He said he cannot connect to the server unless... (1 Reply)
Discussion started by: mokachoka
1 Replies

9. UNIX for Dummies Questions & Answers

VSFTPD - User or IP based SSL encryption?

Is there a way i can only force SSL encryption if they connect from outside our network OR allow certain IP's to connect without using encryption? (0 Replies)
Discussion started by: mokachoka
0 Replies

10. UNIX for Dummies Questions & Answers

to enable POP3(ssl) and SMTP(ssl) in Squid

i have configured Squid proxy server in Fedora 8 with two network interfaces. HTTP, HTTPS, FTP are working fine but we are unable to download mails using mail clients from mail server with POP3(ssl) and SMTP(ssl). so please someone help us how to enable pop and smtp in Squid. (1 Reply)
Discussion started by: praneel2k
1 Replies
Login or Register to Ask a Question