mirror of https://github.com/apache/nifi.git
MINIFI-552: Fix new SSL SAN Behaviour from new Jetty Version
Signed-off-by: Matthew Burgess <mattyb149@apache.org> This closes #5036
This commit is contained in:
parent
a0655bff1a
commit
93dcf25d33
|
@ -63,7 +63,7 @@ public class C2Properties extends Properties {
|
|||
}
|
||||
|
||||
public SslContextFactory getSslContextFactory() throws GeneralSecurityException, IOException {
|
||||
SslContextFactory sslContextFactory = new SslContextFactory();
|
||||
SslContextFactory sslContextFactory = new SslContextFactory.Server();
|
||||
KeyStore keyStore = KeyStore.getInstance(properties.getProperty(MINIFI_C2_SERVER_KEYSTORE_TYPE));
|
||||
Path keyStorePath = Paths.get(C2_SERVER_HOME).resolve(properties.getProperty(MINIFI_C2_SERVER_KEYSTORE)).toAbsolutePath();
|
||||
logger.debug("keystore path: " + keyStorePath);
|
||||
|
|
Loading…
Reference in New Issue