You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Trimarchi Michele <mi...@crypto.it> on 2003/10/27 13:46:58 UTC

User defined Keystore on SSLUtils

i'm working on SSLUtils.java to let the application load a Keystore and init the SSLContext with user defined TrustManager and KeyManager Factory . So i can get SSLSocketFactory from the SSLContext and not from the SSLSocketFactory.getDefault() this avoids the use of System.setProperty(..) stuffs like

System.setProperty("javax.net.ssl.keyStore", pathClientKeystore) 
System.setProperty("javax.net.ss.trustStorePassword", passClientKeystore);
System.setProperty("javax.net.ssl.keyStorePassword", passClientKeystore);

that set Certificate on a JVM scope.

Have u never thought about this feature?

Michele