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