When a certifciate is added (issued or imported), we should assign it to a CRL partition index. Take the number of partitions (maximum index) and number of retired partitions (minimum index) into account.
Store the value in the crlPartitionIndex column from
ECA-7934, and include correct CDP URL (with the partition index) in the certificate.
It should have a system test also.