Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: EJBCA 7.4.0
-
Component/s: None
-
Labels:None
-
Provenance:Internal Delivery
-
Issue discovered during:Customer
-
Sprint:EJBCA Team Bob - 2019 w45
Description
The CLI command "bin/ejbca.sh ca republish" does:
- List all username from the UserData table, where the cAId column in userdata matches the CA you want to republish
(it will print some info about the users it find when republishing) - It gets the certificate profile ID from the entry in UserData (certificateProfileId column)
- It gets the active publisher(s) from the Certificate Profile this certificateProfileId points to (for this username)
- It gets all certificates for this username from the CertificateData table
- It publishes the certificates retrieved in step 4 to the publishers from step 3.
Listing usernames may not always produce the desired result, because end entities can be removed and edited. Nowadays we can get certificate profiles ID from the CertificateData entry directly (this was not possible a long time ago which is probably why the command works as it does).
Attachments
Issue Links
- is related to
-
ECA-7632 RA Web enrollment, End entity removed if finishUser is unchecked in the CA
-
- Closed
-
- linked with
-
DeskPRO #1258 How to perform a Full CertificateData publish from CA to an empty VA Database?