removed one deprecation warning for jetty library initializing ssl

server port
pull/390/head
Michael Peter Christen 4 years ago
parent 133440a7a6
commit c0f6d6e11d

@ -85,7 +85,7 @@ public class Jetty9HttpServerImpl implements YaCyHttpServer {
boolean useSSL = sb.getConfigBool("server.https", false); boolean useSSL = sb.getConfigBool("server.https", false);
if (useSSL) { if (useSSL) {
final SslContextFactory sslContextFactory = new SslContextFactory(); final SslContextFactory sslContextFactory = new SslContextFactory.Server();
final SSLContext sslContext = initSslContext(sb); final SSLContext sslContext = initSslContext(sb);
if (sslContext != null) { if (sslContext != null) {

Loading…
Cancel
Save