This topic has not yet been written. The content below is from the topic description.
The following is an example of configuring a SSLSocketBuilder and using it to create a custom SSLSocketFactory: protected SSLSocketFactory getSocketFactory() throws Exception { HashMap config = new HashMap(); config.put(SSLSocketBuilder.REMOTING_KEY_STORE_TYPE, "JKS"); String keyStoreFilePath = getKeystoreFilePath(); config.put(SSLSocketBuilder.REMOTING_KEY_STORE_FILE_PATH, keyStoreFilePath); config.put(SSLSocketBuilder.REMOTING_KEY_STORE_PASSWORD, "unit-tests-server"); config.put(SSLSocketBuilder.REMOTING_SSL_PROTOCOL, "SSL"); SSLSocketBuilder builder = new SSLSocketBuilder(config); builder.setUseSSLSocketFactory(false); return builder.createSSLSocketFactory(); }