Google+ Followers

Dec 23, 2010

load certificates in java

Just add this line below to your context listener for example.


System.setProperty("javax.net.ssl.trustStore", "c:/certificates/certificates_storage_file");
System.setProperty("javax.net.ssl.trustStorePassword", "password");

Simple as that.

Dor

No comments:

Post a Comment