deborah deborah - 1 year ago 88
Java Question

java SSL and cert keystore

How does my java program know where my keystore containing the certificate is? Or alternatively how do I tell my java program where to look for the keystore?

After specifying the keystore in some way, how to specify the certificate to use for authenticating the server to client?

Answer Source
System.setProperty("javax.net.ssl.trustStore",path_to_your_cacerts_file);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download