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

Warn when slot does not contain a key with the alias 'testKey' and relax the naming convention for these keys

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Cosmetic
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.2.0
    • Component/s: None
    • Provenance:
      Internal Delivery
    • Sprint:
      EJBCA Team Bob - 2019 w18, EJBCA Team Bob - 2019 w21

      Description

      For HSM Keep-Alive to work, you must have a key named exactly 'testKey'. Sometimes customers do not read the documentation and they call the key 'testkey' or testKey0001.

      This ticket suggests the following improvements:

      1. Perform a test signature with any key with an alias matching alias.toLowerCase().contains("testkey"). Since the name of the key is not case-sensitive, the user is less likely to make a mistake when naming the test key. This also makes it consistent with how the "Create CA"-page performs auto-detection of keys.

      2. Warn with Log4j when no test key is found. Current log message is written as DEBUG.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m