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

Use SSL Context Service in GitHubFlowRegistryClient and GitLabFlowRegistryClient

    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

          People

            Unassigned Unassigned
            Rene_Z René Zeidler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: