This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • 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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!