David Handermann created NIFI-8088:
--------------------------------------

             Summary: Remove PKCS12 Deprecation Warning in KeyStoreUtils
                 Key: NIFI-8088
                 URL: https://issues.apache.org/jira/browse/NIFI-8088
             Project: Apache NiFi
          Issue Type: Improvement
    Affects Versions: 1.12.1
            Reporter: David Handermann
            Assignee: David Handermann


KeyStoreUtils.getTrustStore() logs a warning message indicating the PKCS12 
trust stores are deprecated in favor of JKS.  JEP 229 changed the default key 
store type to PKCS12 starting with Java 9.  The Site to Site Client, GetHTTP, 
and PostHTTP Processors use the KeyStoreUtils.getTrustStore() method.  The 
method itself checks the trust store type, logs the warning for PKCS12 and 
delegates to KeyStoreUtils.getKeyStore().

References to KeyStoreUtils.getTrustStore() should be replaced with 
KeyStoreUtils.getKeyStore() and the getTrustStore() method should be removed to 
avoid confusing log warnings in deployments where PKCS12 trust stores are used.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to