Common Issues and How to Resolve Them
|
Error / Issue |
Diagnosis |
|---|---|
|
Authorization error during crypto token creation |
An authorization error may occur while creating a crypto token or performing other operations in the EJBCA Admin Web UI. The error “Administrator is not authorized to resource /cryptotoken/modify” is most likely related to the administrator certificate selected in the browser. Verify that the correct administrator certificate, obtained during the initial EJBCA setup, is selected when accessing the Admin Web UI. If required, update the browser certificate selection settings and reconnect using the appropriate certificate. |
|
|
A failure may occur while running |
Common issues
Log Locations and Interpretation
PKCS#11 Logs:
Enabling PKCS#11 logging to facilitate easier testing and troubleshooting is recommended. This can be done by configuring the Logging Loglevel and LogPath parameters in the configuration file.
-
LogPath should point to a writable directory (not a specific file) where log files can be stored.
-
Logging Loglevel controls the verbosity of the logs:
-
Set it to 1 for basic logging.
-
For detailed testing and debugging, increase the level to 4.
-
The generated log file will be named cs_pkcs11_R3.log and located in the directory specified by LogPath. Reviewing this log file can help identify and resolve issues that arise during testing.
Once testing is complete, it is advisable to reduce the Logging Loglevel to 1 or 2 to limit logging to only critical or important messages, thereby optimizing performance and reducing unnecessary log data.