fix refactoring typo
validate attribute cert issuer