LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2009, 10:16 AM   #1
sandygws
LQ Newbie
 
Registered: Nov 2009
Location: London, UK
Posts: 11

Rep: Reputation: 0
Debian/GPROFTPD won't allow TLS connections


Hey everyone, I've set up GPROFTPD on Debian 5 x64, and can connect just fine using standard FTP.

I then followed the steps at http://www.unixmen.com/linux-tutoria...-tls-on-ubuntu to add TLS, and restarted the server.


Trying to connect via TSL/SSL returns the following:

Quote:
Status: Connection established, waiting for welcome message...
Response: 220 MyFTP
Command: AUTH TLS
Response: 500 AUTH not understood
Command: AUTH SSL
Response: 500 AUTH not understood
Error: Critical error
Error: Could not connect to server

Any ideas?
 
Old 12-21-2009, 11:57 AM   #2
sandygws
LQ Newbie
 
Registered: Nov 2009
Location: London, UK
Posts: 11

Original Poster
Rep: Reputation: 0
Forgot my proftpd.conf:

Quote:
ServerType standalone
DefaultServer on
Umask 002
ServerName <>
ServerIdent on "<>"
ServerAdmin <>
IdentLookups off
UseReverseDNS off
Port <>
PassivePorts <>
#MasqueradeAddress None
TimesGMT off
MaxInstances 5
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
DisplayChdir .message
User <>
Group admin
DirFakeUser on <>
DirFakeGroup on admin
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 0
TransferRate STOR 0
TransferRate STOU 0
TransferRate APPE 0
SystemLog /var/log/secure
RequireValidShell off

<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>

<Limit LOGIN>
AllowUser <>
DenyALL
</Limit>

<Anonymous /data/downloads>
User <>
Group admin
AnonRequirePassword on
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST STOR STOU APPE RETR RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR SITE SITE_CHMOD PW$
AllowAll
</Limit>
<Limit SITE_CHGRP MTDM >
DenyAll
</Limit>
</Anonymous>

DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."

<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/tls.log
TLSProtocol SSLv23
TLSOptions NoCertRequest
TLSRSACertificateFile /etc/proftpd/ssl/proftpd.cert.pem
TLSRSACertificateKeyFile /etc/proftpd/ssl/proftpd.key.pem
TLSVerifyClient off
TLSRequired on
TLSRenegotiate required off
</IfModule>
 
Old 12-21-2009, 03:01 PM   #3
sandygws
LQ Newbie
 
Registered: Nov 2009
Location: London, UK
Posts: 11

Original Poster
Rep: Reputation: 0
In case anyone is having the same problem:

I finally got it working by adding 'LoadModule mod_tls.c' to the top of proftpd.conf.
 
  


Reply



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
Exim4 on Debian not negotiating TLS session... barackobama Linux - Software 1 02-27-2009 03:09 AM
eDirectory auth with TLS on Debian apache lykwydchykyn Linux - Enterprise 0 11-25-2008 02:44 PM
errno: TLS definition in /lib64/libc.so.6 section .tbss mismatches non-TLS reference johnpaulodonnell Programming 2 07-25-2008 04:37 AM
LXer: Setting Up ProFTPd + TLS On Debian Etch LXer Syndicated Linux News 1 12-15-2007 01:35 AM
Debian Exim4 SMTP Auth TLS? shaun_bakker Linux - Software 1 06-30-2005 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 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
Open Source Consulting | Domain Registration