public static Configuration createServerSSLConfig(String serverKS, String password,
    String keyPassword, String trustKS) throws IOException {
    Configuration serverSSLConf =
      createSSLConfig(SSLFactory.Mode.SERVER, serverKS, password, keyPassword, trustKS);
    return serverSSLConf;
  }
Creates SSL configuration for a server.
@param serverKS    String server keystore file
@param password    String store password, or null to avoid setting store password
@param keyPassword String key password, or null to avoid setting key password
@param trustKS     String truststore file
@return Configuration for server SSL
hbase-http/src/test/java/org/apache/hadoop/hbase/http/ssl/KeyStoreTestUtil.java