 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Wed Apr 04, 2007 2:44 pm Post subject: Explicit SSL FTP |
|
|
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 |
|
 |
|
|
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
|
|