@Test
public void createSSLContext() throws Exception {

    String keyStorePath = "keystore.jks";
    String keyStorePassword = "password";
    String keyStoreType = "jks";
    String trustStorePath = "trustsrore.jks";
    String trustStorePassword = "password";
    String trustStoreType = "jks";
    Map<String, String> conf = new HashMap();
    SSLContext sslContext = SecurityUtils.createSSLContext(conf, "TLS");
    assertTrue(sslContext != null);
    conf.put("keyStorePath", keyStorePath);
    conf.put("keyStorePassword", keyStorePassword);
    conf.put("keyStoreType", keyStoreType);
    conf.put("trustStorePath", trustStorePath);
    conf.put("trustStorePassword", trustStorePassword);
    conf.put("trustStoreType", trustStoreType);
    sslContext = SecurityUtils.createSSLContext(conf, "TLS");
    assertTrue(sslContext != null);
}