better management of sequential certificate serial number generator