commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Tanuatmadja <rtanuatma...@newvinelogistics.com>
Subject RE: Commons Net : FTP over SSL and yes I have read the archive :)
Date Fri, 30 Apr 2004 17:07:29 GMT
I have made some progress ( I think ) over this issue. Basically I took the
suggestion made on the mailing list archive and implemented my own :
1. SocketFactory which implements the org.apache.net.SocketFactory class.
The implementation uses the various defaults ( SSLSocket, SSLSocketFactory,
SSLServerSocket ) provided by Sun. We use JDK 1.4.2. There seems to be an
export related issue, where you can't provide your own classes ( I might be
wrong on this ). So with this I've been able to connect to an FTP Server
through SSL, well I got an exception complaining about "certificate_unknown"
but I am pretty sure that's just me not setting up the certificate, keystore
etc correctly. 

However, connecting the above with the link below, my method is essentially
the first one mentioned which is supposedly BAD, not sure why. 
Does anyone have any experience or ideas at all in implementing the third
method mentioned in the article ?

Thanks

Roger

-----Original Message-----
From: Roger Tanuatmadja [mailto:rtanuatmadja@newvinelogistics.com]
Sent: Friday, April 23, 2004 7:34 AM
To: 'Jakarta Commons Users List'
Subject: RE: Commons Net : FTP over SSL and yes I have read the archive
:)


I have that link as well, and at the bottom of the list there are about 3
Java libraries that implement the protocol, but they are not open source. 

-----Original Message-----
From: David Tonhofer, m-plify S.A. [mailto:d.tonhofer@m-plify.com]
Sent: Friday, April 23, 2004 2:08 AM
To: Jakarta Commons Users List
Subject: Re: Commons Net : FTP over SSL and yes I have read the archive
:)


Let me butt in a second:

There is an FTP extension whereby you can have the FTP control
channel and/or the FTP data channel on top of TLS. This is commonly
called 'AUTH TLS', i.e. when the client connects, it asks 'AUTH TLS' and
the data channel is TLS-ed by the server.

For more details: http://www.ford-hutchinson.com/~fh-1-pfh/ftps-ext.html


--On Friday, April 23, 2004 2:51 PM +1200 Simon Kitching
<simon@ecnetwork.co.nz> wrote:

> On Fri, 2004-04-23 at 14:35, Jeffrey D. Brekke wrote:
>> I haven't seen anything about this either, but if you do find out some
>> information, please share it with us via this list or the wiki.
>>
>> Thanks.
>>
>> >>>>> On Thu, 22 Apr 2004 09:45:18 -0700, Roger Tanuatmadja
<rtanuatmadja@newvinelogistics.com> said:
>>
>> > Hi, I need to implement FTP over SSL or ideally use an existing
>> > library if someone can point me out to some package they know.
>>
>> >> From the archive there was only one post I could find regarding how
>> >> to
>> > implement this, something having to do with using J2SE1.4 which we
>> > are using and implementing the ...commons.net.SocketFactory, etc
>> > ,etc and calling a setSocketFactory. Can anyone provide any pointers
>> > on whether this is sufficient. I am quite worried about handshaking
>> > as well. Sample code would obviously be the most useful.
>>
>
> Could you explain to me what you mean by "ftp over SSL"?
>
> I am familiar with SFTP, and with FTP over an SSH tunnel.
> And https, which is http over ssl.
>
> But ftp over SSL?
>
> Thanks,
>
> Simon
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message