multiple change for issuing certificate (refactoring)