AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Explicit SSL FTP

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Wed Apr 04, 2007 2:44 pm    Post subject: Explicit SSL FTP Reply with quote



Hi All

I am working on developing a java client for FTP over SSL (explicit).
My requirement is that I should present the server certificate to the
client and once the client accepts, go thru the connection.

In this regard I am trying to get the certificate from the SSLSession.
Before doing that I need to send the "AUTH SSL" / "AUTH TLS" command
to the server. The problem here is, if I send the command over
SSLSocket, it throws an exception when I try to send the command. If I
send the command over plain Socket, this part works fine. But I am
unable to convert the plain Socket into SSLSocket and get the
SSLSession.

I hope someone can point me as to how I should do this. Or any
problems with this approach. Pl do let me know if there are any other
approaches.

Thanks
SV
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.