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

Add SSLContextProvider Controller Service Interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • Extensions
    • None

    Description

      The SSLContextService Controller Service interface supports TLS communication for a wide range for extension components and includes methods for creating Java SSLContext objects and retrieving configuration properties. The majority of extension components require initialized SSLContext objects or the supporting KeyManager and TrustManager objects. A small number of extension components use individual configuration properties to support other libraries that handle SSLContext construction.

      In order to provide better separation between configuration properties and TLS communication objects, a new SSLContextProvider Controller Service interface should be added to the nifi-ssl-context-service-api module. This interface should declare the same createContext and createTrustManager methods that the SSLContextService provides so that it can serve as a parent interface for SSLContextService. This change will support updates to integrating components, allowing them to depend on SSLContextProvider instead of SSLContextService.

      The new SSLContextProvider interface will support subsequent introduction of support for configuring PEM Key and Certificate files in a way that ensures compatibility without implying access to the files themselves.

      This approach retains compatibility with existing external Processors and Controller Services that depend on SSLContextService.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              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