Managing certificate templates