Currently, when importing an existing CA into EJBCA (let's say during a migration project), two CRLs will automatically get generated for the imported CA - one regular CRL, and one delta CRL.
In case of migration projects, this is possibly not something that should be done, because the CA has already had a lifecycle of its own, and has already generated a number of CRLs as it is.
It would be beneficial if an option was introduced to the "bin/ejbca.sh ca importca" command that would allow the user to skip generation of the CRLs during import.
I have ran into a problem where, in case no index has been created on CRLData table, a CA ended-up with duplicate CRL with CRL number 2 - one generated from EJBCA during import, and one from import of an actual CRL. This caused an exception to be thrown on homepage (something about non-unique results, probably for CRL).