Skip to content
This repository has been archived by the owner on Apr 4, 2021. It is now read-only.

Truststore

Flowdalic edited this page Jun 2, 2012 · 7 revisions

Code Snippet

connectionConfiguration.setTruststoreType("BKS");
String path = System.getProperty("javax.net.ssl.trustStore");
if (path == null)
        path = System.getProperty("java.home") + File.separator + "etc"
            + File.separator + "security" + File.separator
            + "cacerts.bks";
connectionConfiguration.setTruststorePath(path);

Further Readings

Clone this wiki locally