Generate class certificates