Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!

  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Newbie question about TLS client: Where to begin?  RSS feed

Philippe Desrosiers
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • 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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!