Actions
Defect #3072
closedUploading/creating certificate via authority into IdM will crop 0 from the beginning of serial number
Start date:
03/14/2022
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
There is issue when you upload certificate manually to IdM it will not save the serial number correctly.
the issue is on line https://git.bcvsolutions.eu/modules/crt/-/blob/develop/Realization/backend/crt/crt-impl/src/main/java/eu/bcvsolutions/idm/crt/service/DefaultCertificateManager.java#L674
This same lane is at some other places to, so it should be fixed in all places probably.
We can probably use
Debug.toHexString(certificateSerialNumber).toUpperCase() from sun.security.util.Debug
There is only some issue with weird spaces in the converted string, so we need to fix it to.
Actions