Ferenc Erdei created NIFI-13551:
-----------------------------------
Summary: SSL context is not set in Headless NiFi
Key: NIFI-13551
URL: https://issues.apache.org/jira/browse/NIFI-13551
Project: Apache NiFi
Issue Type: Bug
Components: MiNiFi
Affects Versions: 2.0.0-M4
Reporter: Ferenc Erdei
Assignee: Ferenc Erdei
Fix For: 2.0.0-M5
h1. Background
There was a bigger refactor in NIFI-12125 that affected the HeadlessNiFiServer
code base.
h2. Issue
The sslContext that we pass to the FlowController is always null as the used
SslContextConfiguration fields are not populated by any part of the code.
h2. Possible Solution
Use FrameworkSslContextProvider.loadSslContext in the HeadlessNiFiServer that
populates the FrameworkSslContextHolder object and return the SSL context as
well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)