David Handermann created NIFI-16212:
---------------------------------------

             Summary: Switch MQTT Processors to SSLContextProvider
                 Key: NIFI-16212
                 URL: https://issues.apache.org/jira/browse/NIFI-16212
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
            Reporter: David Handermann
            Assignee: David Handermann


The MQTT Processors use the {{SSLContextService}} to supply certificate and key 
files for TLS, using different client properties according to the driver 
configured. Following the pattern of other extension components, these should 
be switched to the {{SSLContextProvider}} interface instead.

The Paho library supports configuration a Socket Factory to provide TLS 
communication, but the HiveMQ library requires a {{KeyManagerFactory}} and a 
{{{}TrustManagerFactory{}}}. The {{SSLContextProvider}} interface provides 
instances of {{KeyManager}} and {{TrustManager}} that can be wrapped to support 
integration with HiveMQ, enabling the switch from {{SSLContextService}} to 
{{{}SSLContextProvider{}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to