diff --git a/source/net/yacy/http/Jetty9HttpServerImpl.java b/source/net/yacy/http/Jetty9HttpServerImpl.java index 8d5b88bb5..1bcdcfb4d 100644 --- a/source/net/yacy/http/Jetty9HttpServerImpl.java +++ b/source/net/yacy/http/Jetty9HttpServerImpl.java @@ -85,7 +85,7 @@ public class Jetty9HttpServerImpl implements YaCyHttpServer { boolean useSSL = sb.getConfigBool("server.https", false); if (useSSL) { - final SslContextFactory sslContextFactory = new SslContextFactory(); + final SslContextFactory sslContextFactory = new SslContextFactory.Server(); final SSLContext sslContext = initSslContext(sb); if (sslContext != null) {