wood burning stoves 2.0*
The moose likes Security and the fly likes Configuring trust store for SSL client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Configuring trust store for SSL client" Watch "Configuring trust store for SSL client" New topic
Author

Configuring trust store for SSL client

Sol Mayer-Orn
Ranch Hand

Joined: Nov 13, 2002
Posts: 311
Hi,

Would any one please be able to tell whether and SSL client can *programatically* configure its "trust store" , and *not* by using System.setProperty ?

In detail:
I'm writing a client, that connects to a server using SSL.
The server's certificate is *not* signed by a "well-known" CA (certificate authority). Rather, it's signed by my company's private CA.

Now, I *know* you can edit the default java trust-store file. Or you can use System.setProperty() to set the trust-store file.

But, is it possible to have finer control over the trust store ? In my case, the client has multiple threads, each thread requiring a different trust sotre - so a global "system property" is not good enough...

Thanks !
 
 
subject: Configuring trust store for SSL client