private static SSLContext newSslContext(ContainerBuilder builder) {
        ConnectorConfig.Ssl sslConfig = builder.getInstance(ConnectorConfig.class).ssl();
        if (!sslConfig.enabled()) return null;

        return new SslContextBuilder()
                .withKeyStore(Paths.get(sslConfig.privateKeyFile()), Paths.get(sslConfig.certificateFile()))
                .withTrustStore(Paths.get(sslConfig.caCertificateFile()))
                .build();
    }
A {@link com.yahoo.jdisc.test.TestDriver} that is configured with {@link JettyHttpServer}.

@author bjorncs
container-core/src/main/java/com/yahoo/jdisc/http/server/jetty/testutils/TestDriver.java