keystore = new File(sConf.get(Constants.Security.Router.SSL_KEYSTORE_PATH));
} catch (Throwable e) {
throw new RuntimeException("Cannot read keystore file : "
+ sConf.get(Constants.Security.Router.SSL_KEYSTORE_PATH));
}
this.sslHandlerFactory = new SSLHandlerFactory(keystore,
sConf.get(Constants.Security.Router.SSL_KEYSTORE_TYPE,
Constants.Security.Router.DEFAULT_SSL_KEYSTORE_TYPE),
sConf.get(Constants.Security.Router.SSL_KEYSTORE_PASSWORD),
sConf.get(Constants.Security.Router.SSL_KEYPASSWORD));
} else {