Index: [Article Count Order] [Thread]

Date:  Wed, 28 May 2008 21:57:28 +0200
From:  Michael Stauber <bq (at mark) solarspeed.net>
Subject:  [coba-e:13108] Re: FTP - TLS/SSL Support? - Answer
To:  coba-e (at mark) bluequartz.org
Message-Id:  <200805282157.28844.bq (at mark) solarspeed.net>
In-Reply-To:  <032401c8c05c$09220d90$0569a8c0@WORK1>
References:  <65BFD6BC-93A9-4CC1-92C7-CD1B7092C90B (at mark) mfc.bakkers.gr.jp> <00ca01c8bd3b$8064f800$0569a8c0 (at mark) WORK1> <032401c8c05c$09220d90$0569a8c0 (at mark) WORK1>
X-Mail-Count: 13108

Hi Jim, hi Dan,

Jim wrote:
> Well I had no takers to help me figure this out so I played around today
> and figured out how to add SSL/TLS support to the built in proftpd server.
> For those interested in the instructions I created a blog which I will 
> begin to add these types of things to. You can find my first how to here.
>
> http://coding.infoconex.com/post/BlueQuartz-enabling-SSLTLS-Support.aspx
>
> Please let me know if you find anything wrong with the instructions.

That's indeed pretty slick. I'll try it out on a test box and will see if I 
can hack it into base-ftp as official part of BlueQuartz. Good work, Jim!

Dan wrote:
> 1) Instead of creating your own certificate why not just use the same 
> one as the GUI/sendmail/dovecot uses?  It took some hunting around for 
> the correct files but this looks like it works...
> 
> TLSRSACertificateFile /etc/admserv/certs/certificate
> TLSRSACertificateKeyFile /etc/admserv/certs/key

That's also a good suggestion, as it cuts down on the number of certs you have 
to install in various places. If FTP works with the GUI certficate (and I 
guess it does), then this is probably the way to go.

Dan wrote:
> 2) In the past I have edited proftpd.conf and my changes have been 
> overwritten.  Admittedly this was years ago so things have probably 
> changed now but can someone confirm that changes to proftpd.conf will 
> no longer be lost?

There is a constructor that generates the proftpd.conf when BlueQuartz is 
initialized on first start of CCEd.init (after the install for example). And 
there is also one handler that rewrites proftpd.conf when you add/remove 
sites. To be on the safe side of things here those constructors and handlers 
in base-ftp need to be checked and fixed to make sure that this change 
doesn't get dropped out or causes conflicts. I'll take care of that and will 
submit the updates to SVN. But as I'm a bit busy at the moment this may take 
a few days.

-- 
With best regards,

Michael Stauber