Signing, Renewal and CRL error in 2.5.0 #468
-
I've updated XCA from 2.4.0 to 2.5.0 and opened the xca-database-file.
Uninstalled 2.5.0 and installed 2.4.0. Now extending the same certificate was successful. Certificate to be extended was signed with sha512WithRSAEncryption (OID 1.2.840.113549.1.1.13) and used with its 4096-bit-key. What did I do wrong? Or what additional information is needed to reproduce this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 9 replies
-
I could not reproduce here on Windows 10 with xca-2.5.0 and sha512WithRSAEncryption with 4096bit RSA key |
Beta Was this translation helpful? Give feedback.
-
similar problem here with generating a crl. Also with sha512WithRSAEncryption and 4096-bit-key
working Version:
not working:
I'm not sure if it is relevant, but I select always typical install. |
Beta Was this translation helpful? Give feedback.
-
re-checked the issue - always used full installation on Windows 10 - not the portable version XCA - working
XCA - non working
checked (re-)creating a CRL
extend a certificate
|
Beta Was this translation helpful? Give feedback.
-
According to #461 and #410 this issue does not depend on the operating system .... |
Beta Was this translation helpful? Give feedback.
-
Hi @chris2511 thats very strange as 2.4.0 works fine to create. |
Beta Was this translation helpful? Give feedback.
-
@chris2511 can you maybe add a detailed debugging option into a beta build, link it here, and then we can both submit the logs to you? |
Beta Was this translation helpful? Give feedback.
-
I have the same error on 2.4.0 when trying to create a new certificate. Key generation seems to have been successful. |
Beta Was this translation helpful? Give feedback.
-
You mean 2.5.0 ? (Just to be sure, because all other observations say: works in 2.4.0, fails in 2.5.0) |
Beta Was this translation helpful? Give feedback.
-
There is a solution (I think): The malfunctioning key should say "Legacy database" in the "Context-menu"-> Properties->Source.
In both cases, the old and new password may be the same. |
Beta Was this translation helpful? Give feedback.
-
@chris2511 You're a genius! It worked! Resetting the password of the DB (using same pass) in 2.4.0 and opening in 2.5.0 was the fix! If I may be so bold, can we have just a small aesthetic fix in the next version, and take advantage of wasted space on the bottom of the app to show longer DB paths/name? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
There is a solution (I think):
The common cause is the age. Your database was created before 2.0.0 and I dropped support for the old database password encryption with XCA 2.5.0. However, the keys were not re-encrypted with the new PKCS#8 format during upgrade to the SQL database scheme, which did not matter, because XCA until 2.4.0 was still able to read them.
The malfunctioning key should say "Legacy database" in the "Context-menu"-> Properties->Source.
The encryption scheme needs an update. XCA-2.4.0 can do this:
In both ca…