def _issue_cert(self, domain):
def errback(failure):<EOL><INDENT>failure.trap(txacme_ServerError)<EOL>acme_error = failure.value.message<EOL>if acme_error.code in ['<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>self.log.error(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>', code=acme_error.code, domain=domain,<EOL>detail=acme_error.detail)<EOL><DEDENT>else:<EOL><INDENT>return failure<EOL><DEDENT><DEDENT>d = self.txacme_service.issue_cert(domain)<EOL>return d.addErrback(errback)<EOL>
Issue a certificate for the given domain.