aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Newbie question about TLS client: Where to begin? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Newbie question about TLS client: Where to begin?" Watch "Newbie question about TLS client: Where to begin?" New topic
Author

Newbie question about TLS client: Where to begin?

Philippe Desrosiers
Ranch Hand

Joined: Mar 29, 2006
Posts: 138
I need to code a TLS client application that will connect to the same host server using multiple simultaneous sockets, with a different Client Certificate for each connection.

Additionally, web users will need to be able to upload their .p12 encrypted certificates to the web server, and the server needs to be able to decrypt the certificate and add it to it's local keystore (or identitystore, or truststore, or whatever it's called).

In case you can't tell, I'm completely oblivious to TLS / SSL protocol and certificates and whatnot. Can anyone point me at some sample code that does this? Everything I've seen uses some combination of system properties for the keystore stuff. I need to be able to add client certificates at runtime, from an arbitrary path on disk.

Any ideas?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Newbie question about TLS client: Where to begin?