-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EJBCA Upgrade from 8.2 to 8.3 fail - Certificates disappear from RA web #731
Comments
You should have some log records. https://docs.keyfactor.com/ejbca/8.3.2/troubleshooting-guide |
All I see in the log when I try to get the list of certificates is:
|
Looks like an algorithmissue with some certificate. What types of certificates and algorithms are you using in these certificates? |
Looks like the certificate has either no public key, at least certificate.getPublicKey returns null. |
Great, that's what I though and hoped for. You also have to go into the database and delete those certificates then. To make sure you enter the "subjectDN of the CA" in exactly the right format. You can look it up based on some usernames you know. |
I previously deleted from the Database in the tables |
Are there any specific certificates you are searching for? Can you search in the Admin UI to try to identify the certificate that causes the problem? |
No, I am not searching for anything specific. No matter what I write in the textfield (or even blank) results in no certificates shown for SuperAdmin while the other user gets some results |
If it is related to SuperAdmin, can you search for superadmin in the Admin UI (RA->Search End entities) and look at the certificates there. |
Accessing with superadmin is the problem in the new version. I can see one old expired superadmin certificate and a newer one from early this year. |
I'm not sure I understand this. Can you show some screenshots? |
I have a local installation of EJBCA CE in a local VM. It was running version 8.2.0.1 correctly. I tried to upgrade to 8.3.2 and it seemingly performed said upgrade correctly. However, when I went to the RA web, I could not see any certificates, no matter the filters I tried. I then went back to the 8.2.0.1 folder and after deploying it again, the certificates appeared, which means they are not removed in the database.
I tried to upgrade via the intermediate 8.3.1 version, which showed the same error.
I copied the configuration files from the previous folder, and no changes to the database were made. Plus, as I said the certificates are stored correctly it seems. No other error was found related to the database, PKCS11 or any other aspect I checked. The VM is running SLES 12.
In version 8.2.0.1:
In version 8.3.1:
The text was updated successfully, but these errors were encountered: