I just encountered issues with displaying correct size of RSA key and I would like to ask why is this happening?
When I import new CA (from PKCS#12 container) to the EJBCA that has RSA key size 4096 than I see in AdminGUI that the RSA key size of imported CA is 2048. It seems that EJBCA is not correctly showing this information.
I created new CA that has PKCS#11 token type and I use pre-generated RSA keys of length 4096 bits. After the creation was successful I opened certficate of PKCS#11 CA in AdminGUI and I see that the RSA key size is 4095 which isn't the power of 2.
Is there a reason why is this happening or is it just a bug of EJCBA or is it possible to fix it somehow?