Find the next certificate identifier and add check metadata.