private static Configuration getSslConfig(Configuration conf) {
    Configuration sslConf = new Configuration(false);
    String sslServerConfFile = conf.get(SSLFactory.SSL_SERVER_CONF_KEY);
    String sslClientConfFile = conf.get(SSLFactory.SSL_CLIENT_CONF_KEY);
    sslConf.addResource(sslServerConfFile);
    sslConf.addResource(sslClientConfFile);
    sslConf.set(SSLFactory.SSL_SERVER_CONF_KEY, sslServerConfFile);
    sslConf.set(SSLFactory.SSL_CLIENT_CONF_KEY, sslClientConfFile);
    return sslConf;
  }
Get the SSL configuration. This method is copied from KeyStoreTestUtil#getSslConfig() in
Hadoop.
@return {@link Configuration} instance with ssl configs loaded.
@param conf to pull client/server SSL settings filename from
hbase-http/src/test/java/org/apache/hadoop/hbase/http/log/TestLogLevel.java