Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-4692

Add warning when JBoss is not configured to use the Sun PKCS#11 packages

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not needed to fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CA GUI, PKI core

      Description

      Currently, if you haven't configured JBoss EAP 6 to allow usage of the sun.pkcs11 packages, the PKCS#11 option for Crypto Tokens will simply be missing in the AdminGUI and creating/importing a Crypto Token from the CLI/Statedump will fail with a confusing "CryptoTokenClassNotFoundException: null" error message.

      The solution would be to add an info message on the Crypto Tokens page informing that PKCS#11 is not configured and to make the exception message clearer in this specific case (perhaps we can try to load sun.pkcs11.<something> to see if the package has been configured to be visible or not)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              samuel Samuel Lidén Borell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: