[COMMON][CERTINIT] Generate cert with certInit