Github user bbende commented on the pull request:

    https://github.com/apache/nifi/pull/232#issuecomment-185322119
  
    Have we considered using the SSLContextService here rather than specifying 
all of the keystore/truststore properties in the processor?
    
    Usually the processor will have logic that says "if no SSLContextService 
was selected then we are doing regular communication, if one is selected then 
secure communication". This way you can avoid another property to specify if 
SSL/TLS should be used.
    
    An example of using this service is in InvokeHTTP...
    
    Defining the property:
    
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/InvokeHTTP.java#L196
    
    Using the service:
    
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/InvokeHTTP.java#L479


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to