File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configuring trust store for SSL client
 
Similar Threads
Websphere (v7) and one way ssl client code
How to overide security behavior in j2me mobile application to accept self signed certitficate?
CertificateException: The certificate chain from the server is not trusted
Problem setting up Security using JAX-WS for Signed certificates
Problem setting up JAX-WS & SSL