Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6254

TLS Toolkit in server mode does not indicate missing JDK JCE Unlimited Strength Support

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Do
    • 1.9.2
    • None
    • Security, Tools and Build
    • None
    • JDK 1.8.112
      Centos 7

    Description

      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).

       

      Attachments

        Issue Links

          Activity

            People

              alopresto Andy LoPresto
              YolandaMDavis Yolanda M. Davis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: