[
https://issues.apache.org/jira/browse/NIFI-16212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-16212:
------------------------------------
Status: Patch Available (was: Open)
> 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
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)