Adding cert generation