LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-07-2006, 10:38 AM   #1
Ratclaws
Member
 
Registered: Sep 2001
Location: New York
Distribution: Slackware 8
Posts: 100

Rep: Reputation: 16
vsftpd +SSL trouble (driving me crazy)


OS: RHEL 3 ES
Using: vsftpd-2.0.3-1 (Built from vsftpd-2.0.3-1.src.rpm for Fedora Core 4)

This problem has been driving me nuts.
I can succesfully transfer files using a php script that I wrote (ftp_sconnect)

However, every FTP cilent that I try other then the PHP script, I get an error at the same place.
If I allow clear logins, all clients work perfectly.
I have also tried changing the certificate, and that had no difference.



Here is the output from the PHP client script that works.
Code:
OUTPUT FROM PHP Script ----------------------
[root@dev1 ratclaws]# php !$
php ./ftpftpuser.php
Content-type: text/html

DEBUG>>> Using SSL: Yes
DEBUG>>> Connection Established
DEBUG>>> Login: Ok!
Logged into web3.mydomain.tld, for user ftpuser
DEBUG>>> We are now in passive mode
DEBUG>>> Uploaded /home/ratclaws/test.file to web3.mydomain.tld as /ToRAT/test.file
DEBUG>>> Downloaded  from web3.mydomain.tld as /home/ratclaws/recieved.file
DEBUG>>> Closing the FTP connection.
[root@dev1 ratclaws]#
Output from other clients
Code:
OUTPUT FROM CoreFTP ------------------------
Resolving web3.mydomain.tld...  
Connect socket #836 to 192.168.1.10, port 21...
220 Welcome to My Company FTP  
AUTH TLS  
234 Proceed with negotiation.  
SSL/TLS error - 0, SSL error - 5   
SSL Connection not established




OUTPUT FROM FileZilla --------------------------
Status:	Connecting to web3.mydomain.tld ...
Trace:	FtpControlSocket.cpp(5075): m_pSslLayer changed state from 0 to 1   caller=0x00a8c86c
Trace:	FtpControlSocket.cpp(5075): m_pSslLayer changed state from 1 to 2   caller=0x00a8c86c
Trace:	FtpControlSocket.cpp(5075): m_pSslLayer changed state from 2 to 4   caller=0x00a8c86c
Trace:	FtpControlSocket.cpp(938): OnConnect(0)  OpMode=1 OpState=-8   caller=0x00a8c86c
Status:	Connected with web3.mydomain.tld, negotiating SSL connection...
Trace:	FtpControlSocket.cpp(761): OnReceive(0)  OpMode=1 OpState=-8   caller=0x00a8c86c
Response:	220 Welcome to My Company FTP
Command:	AUTH TLS
Trace:	FtpControlSocket.cpp(761): OnReceive(0)  OpMode=1 OpState=-9   caller=0x00a8c86c
Response:	234 Proceed with negotiation.
Trace:	FtpControlSocket.cpp(761): OnReceive(0)  OpMode=1 OpState=-10   caller=0x00a8c86c
Trace:	FtpControlSocket.cpp(5075): m_pSslLayer changed state from 4 to 6   caller=0x00a8c86c
Trace:	FtpControlSocket.cpp(1916): OnClose(10053)  OpMode=1 OpState=-10   caller=0x00a8c86c
Error:	Disconnected from server
Trace:	FtpControlSocket.cpp(1077): DoClose(0)  OpMode=1 OpState=-10   caller=0x00a8c86c
Trace:	FtpControlSocket.cpp(3910): ResetOperation(4100)  OpMode=1 OpState=-10   caller=0x00a8c86c
Error:	Unable to connect!
Status:	Waiting to retry... (5 retries left)




OUTPUT FROM FireFTP -----------------------------------
FireFTP 0.90.1 'Modern Girl' Lead Programmer: [Mime Cuvalo], Assistant Programmers: [Devin, Scott Bentley]
Please tip your programmer! All proceeds go to charity. Visit http://fireftp.mozdev.org to donate or learn more. Thank you!
Need a freelance programmer? Email me: mimecuvalo@gmail.com
220 Welcome to My Company FTP
       AUTH TLS
234 Proceed with negotiation.
       PBSZ 0




OUTPUT FROM CuteFTP
		*** CuteFTP 7.0 - build Jun  6 2005 ***

STATUS:>  	Getting listing ""...
STATUS:>  	Resolving host name web3.mydomain.tld...
STATUS:>  	Host name web3.mydomain.tld resolved: ip = 192.168.1.10.
STATUS:>  	Connecting to FTP server web3.mydomain.tld:21 (ip = 192.168.1.10)...
STATUS:>  	Socket connected. Waiting for welcome message...
		220 Welcome to My Company FTP
STATUS:>  	Connected. Authenticating...
COMMAND:>	AUTH TLS
		234 Proceed with negotiation.
STATUS:>  	Establishing SSL session.
STATUS:>  	Initializing SSL module.
STATUS:>  	Connected. Exchanging encryption keys...
ERROR:>   	SSL: Error in negotiating SSL connection. The server could be rejecting your certificate.

Last edited by Ratclaws; 02-07-2006 at 01:17 PM.
 
Old 02-07-2006, 10:50 PM   #2
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
.. I can succesfully transfer files using a php script that I wrote (ftp_sconnect)

However, every FTP cilent that I try other then the PHP script, I get an error at the same place. ..


what do you mean by:

"every FTP cilent that I try other then the PHP script" ??
 
Old 02-08-2006, 11:44 AM   #3
Ratclaws
Member
 
Registered: Sep 2001
Location: New York
Distribution: Slackware 8
Posts: 100

Original Poster
Rep: Reputation: 16
FTP Client - the software used to connect to the server.
In my case:
the php script, CuteFTP, CoreFTP, FileZilla, and FireFTP(firefox extension)
 
Old 02-08-2006, 02:42 PM   #4
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
sounds like two different protocals/versions of the pw progs (pam)?
 
  


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
XMMS ,driving me crazy !!!! waelaltaqi Linux - Software 3 12-11-2005 04:26 AM
[ ] @ are driving me crazy FireInTheDark Linux - Software 1 11-28-2004 10:42 AM
Help this is driving me crazy!!!!!! Wolfy Linux - Hardware 1 07-07-2004 02:32 AM
Gnome driving me crazy! ar1 Debian 5 01-29-2004 10:12 AM
audigy 2 is driving me crazy eastj1974 Linux - Hardware 1 04-23-2003 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:45 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration