[
https://issues.apache.org/jira/browse/NIFI-13551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17867070#comment-17867070
]
ASF subversion and git services commented on NIFI-13551:
--------------------------------------------------------
Commit ee7a905c4095e1aa1c449d2a7b53d30cbdff905a in nifi's branch
refs/heads/main from Ferenc Erdei
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ee7a905c40 ]
NIFI-13551 Fixed framework SSLContext loading for Headless Server
- Changed conditional from evaluating HTTPS port to evaluating store path and
password properties
This closes #9083
Signed-off-by: David Handermann <[email protected]>
> 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
> Priority: Major
> Fix For: 2.0.0-M5
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)