Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Cosmetic
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: EJBCA 7.2.0
-
Component/s: None
-
Labels:
-
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.