if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG,
"SSLTcpProxyService.createServerSocketFactory:" + keystoreFile + ':' + new String(keyStorePass));
KeyStore keystore = KeyStore.getInstance(ksType);
keystore.load(new FileInputStream(keystoreFile), keyStorePass);
KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
kmf.init(keystore,keyStorePass);
TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");