AppServer: Stop using deprecated SslContextFactory constructor
Use SslContextFactory.Client instead, as suggested in the deprecation javadoc. Change-Id: I746c953d3ad549c23d0e43eb4a18fc587e924f93 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
98cdca9b5a
commit
8e356fc45e
|
@ -205,7 +205,7 @@ public AppServer(int port, int sslPort) {
|
||||||
}
|
}
|
||||||
|
|
||||||
private SslContextFactory createTestSslContextFactory(String hostName) {
|
private SslContextFactory createTestSslContextFactory(String hostName) {
|
||||||
SslContextFactory factory = new SslContextFactory(true);
|
SslContextFactory.Client factory = new SslContextFactory.Client(true);
|
||||||
|
|
||||||
String dName = "CN=,OU=,O=,ST=,L=,C=";
|
String dName = "CN=,OU=,O=,ST=,L=,C=";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue