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

Use SSL Context Service in GitHubFlowRegistryClient and GitLabFlowRegistryClient

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

Details

    Description

      The Git Flow Registry Clients currently don't use the SSL Context Service. It always uses the default Java truststore for certificate validation, which prevents the use of privately hosted GitHub/GitLab instances without a public certificate.

      Adding a configurable SSL Context Service would allow using a custom truststore, as is the case for most other NiFi components using SSL.

      Workaround

      Custom certificates can be added to the default Java truststore using:

      keytool -cacerts -importcert -noprompt -file /path/to/custom/ca.cert

      This will affect all SSL connections not using a custom truststore, including those made by the Git registry clients.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            Rene_Z René Zeidler

            Dates

              Created:
              Updated:

              Slack

                Issue deployment