JettyServer: Stop using deprecated SslContextFactory constructor
Replace it with SslContextFactory.Server per the deprecation notice. Change-Id: Ide0dc451b4255715e8a470a2bac8070be628fe8c
This commit is contained in:
@@ -286,7 +286,7 @@ public class JettyServer {
|
||||
c = newServerConnector(server, acceptors, config);
|
||||
|
||||
} else if ("https".equals(u.getScheme())) {
|
||||
SslContextFactory ssl = new SslContextFactory();
|
||||
SslContextFactory.Server ssl = new SslContextFactory.Server();
|
||||
final Path keystore = getFile(cfg, "sslkeystore", "etc/keystore");
|
||||
String password = cfg.getString("httpd", null, "sslkeypassword");
|
||||
if (password == null) {
|
||||
|
||||
Reference in New Issue
Block a user