diff --git a/otj-server-core/src/main/java/com/opentable/server/EmbeddedJettyBase.java b/otj-server-core/src/main/java/com/opentable/server/EmbeddedJettyBase.java index 6f5d5fcc..082e4b7d 100644 --- a/otj-server-core/src/main/java/com/opentable/server/EmbeddedJettyBase.java +++ b/otj-server-core/src/main/java/com/opentable/server/EmbeddedJettyBase.java @@ -419,10 +419,10 @@ int getDefaultHttpActualPort() { return httpActualPort; } - class SuperSadSslContextFactory extends SslContextFactory { + class SuperSadSslContextFactory extends SslContextFactory.Server { SuperSadSslContextFactory(String name, ServerConnectorConfig config) { - super(config.getKeystore()); Preconditions.checkState(config.getKeystore() != null, "no keystore specified for '%s'", name); + setKeyStorePath(config.getKeystore()); setKeyStorePassword(config.getKeystorePassword()); }