code: public static SSLSocketFactory getSSLSocketFactory(Object sslConfig) throws Exception {
          SSLSocketFactory sslSF = null;
          if(sslConfig != null) {
              String sslAlias = ((com.ibm.wsspi.ssl.SSLConfiguration) sslConfig).getAlias();
              final com.ibm.websphere.ssl.JSSEHelper helper = com.ibm.websphere.ssl.JSSEHelper.getInstance();
              final Properties sslProps = helper.getProperties(sslAlias);
              
              sslSF = AccessController.doPrivileged(new PrivilegedExceptionAction<SSLSocketFactory>() {
                  @Override
                  public SSLSocketFactory run() throws Exception {
                      return helper.getSSLSocketFactory(Collections.<String, Object>emptyMap(), sslProps);
                  }
              });
          }
          return sslSF;
      }
docs: Get an ssl socket factory, if configured