User defined Keystore on SSLUtils

"Trimarchi Michele" <[email protected]>
Newsgroups gmane.text.xml.soap.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.