public static HttpServer2.Builder loadSslConfiguration(
      HttpServer2.Builder builder) {
    return loadSslConfiguration(builder, null);
  }
@Test
  void testLoadSslConfiguration() throws Exception {
    Configuration conf = provisionCredentialsForSSL();
    TestBuilder builder = (TestBuilder) new TestBuilder();

    builder = (TestBuilder) WebAppUtils.loadSslConfiguration(
        builder, conf);

    String keypass = "keypass";
    String storepass = "storepass";
    String trustpass = "trustpass";

    // make sure we get the right passwords in the builder
    assertEquals(keypass, ((TestBuilder) builder).keypass);
    assertEquals(storepass, ((TestBuilder) builder).keystorePassword);
    assertEquals(trustpass, ((TestBuilder) builder).truststorePassword);
  }