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

Better error message when trying to sign with an inactive crypto token

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Cosmetic
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.4.0
    • Component/s: None
    • Provenance:
      Internal Delivery
    • Issue discovered during:
      Ad Hoc
    • Sprint:
      EJBCA Team Bob - 2020 w2

      Description

      When e.g. creating a sub CA and the crypto token belonging to the root is offline, an error message similar to "Cannot instantiate BC (keystore 123 == null)." It's not immediately obvious what this means and is of no help to the average user.

      A better error message would inform the user that the keys in the crypto token cannot be accessed because the crypto token / CA is not active.

        Attachments

          Activity

            People

            Assignee:
            bastianf Bastian Fredriksson
            Reporter:
            bastianf Bastian Fredriksson
            Verified by:
            Samuel Lidén Borell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10 minutes Original Estimate - 10 minutes
                10m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 25 minutes
                25m