Securing communication between NiFi clusters using the Default Node SSL Context Service
Cloudera Data Flow automatically provisions a DefaultNodeSSLContextService controller service in the root process group of each NiFi cluster it manages. This controller service is an instance of StandardSSLContextService that references the node keystore and truststore generated by Cloudera Data Flow, making TLS credentials available to data flows and test sessions without requiring manual SSL configuration.
Cloudera Data Flow creates the DefaultNodeSSLContextService on initial deployment and checks it on every subsequent reconciliation.
- If the service is missing, Cloudera Data Flow recreates it.
- If the service is present, Cloudera Data Flowvalidates its configuration.
The service is configured with the following values:
You can reference the DefaultNodeSSLContextService in any processor that requires an SSL Context Service. For example, you can use it to secure communication between two NiFi clusters managed by the same operator instance, using an InvokeHTTP processor on the sending cluster and a ListenHTTP processor on the receiving cluster.
Ensure that:
-
You have an enabled and healthy Cloudera Data Flow environment.
-
You have been assigned the DFDeveloper role granting you access to the Flow Designer.
-
You have been assigned the DFCatalogAdmin or DFCatalogViewer role granting you access to the entire Catalog, or DFCollectionMember role granting you access to the specific collections where the flow definition is located. You will need this authorization to view and open flow definitions, and to publish your draft as a flow definition to the Catalog or a specific Catalog collection.
- Both NiFi clusters are managed by the same Cloudera Data Flow instance.
- The node certificates for both clusters are signed by the same root certificate authority, establishing a shared chain of trust.
- The Kubernetes service for the receiving cluster exposes the port used by the ListenHTTP processor.
