• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Newbie question about TLS client: Where to begin?

 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic