Yolanda M. Davis created NIFI-6254:
--------------------------------------

             Summary: TLS Toolkit in server mode does not indicate missing JDK 
JCE Unlimited Strength Support
                 Key: NIFI-6254
                 URL: https://issues.apache.org/jira/browse/NIFI-6254
             Project: Apache NiFi
          Issue Type: Bug
          Components: Security, Tools and Build
    Affects Versions: 1.9.2
         Environment: JDK 1.8.112
Centos 7
            Reporter: Yolanda M. Davis
            Assignee: Andy LoPresto


When attempting to run the TLS Toolkit in server mode using a JDK that is not 
configured with the JCE Unlimited Strength policy files, the toolkit returns an 
error that does not clearly indicate the issue.

For example when running the following command that uses a Java Home without:

${NIFI_TOOLKIT_DIST}/bin/tls-toolkit.sh server -F -f 
${NIFI_TOOLKIT_CA_CONFIG_FILE}

The scripts responds with the following:

"Service server error: null"

To surface this error it was necessary to do remote debugging (to see 
InvocationException errors were being thrown yet not shown).  The request is to 
surface this type of error in order for users to take corrective action (in 
this case ensuring the JCE policy files are added to the Java SDK Home).

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to