This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Similar Threads
CertificateException: The certificate chain from the server is not trusted
Problem setting up JAX-WS & SSL
How to overide security behavior in j2me mobile application to accept self signed certitficate?
Websphere (v7) and one way ssl client code
Problem setting up Security using JAX-WS for Signed certificates