Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-13551

SSL context is not set in Headless NiFi

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-M4
    • 2.0.0-M5
    • MiNiFi
    • None

    Description

      Background

      There was a bigger refactor in NIFI-12125 that affected the HeadlessNiFiServer code base.

      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.

      Possible Solution

      Use FrameworkSslContextProvider.loadSslContext in the HeadlessNiFiServer that populates the FrameworkSslContextHolder object and return the SSL context as well.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ferdei Ferenc Erdei
            ferdei Ferenc Erdei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment