Added support to randomize certificate serial number (config option)