diff options
Diffstat (limited to 'ipaserver/install')
-rw-r--r-- | ipaserver/install/certs.py | 2 | ||||
-rw-r--r-- | ipaserver/install/installutils.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ipaserver/install/certs.py b/ipaserver/install/certs.py index 209ed3e1c..da89370af 100644 --- a/ipaserver/install/certs.py +++ b/ipaserver/install/certs.py @@ -602,7 +602,7 @@ class CertDB(object): dogtag.https_request(self.host_name, api.env.ca_ee_port, "/ca/ee/ca/profileSubmitSSLClient", self.secdir, password, "ipaCert", **params) if http_status != 200: - raise CertificateOperationError(error=_('Unable to communicate with CMS (%s)') % \ + raise CertificateOperationError(error='Unable to communicate with CMS (%s)' % \ http_reason_phrase) # The result is an XML blob. Pull the certificate out of that diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py index a5457e2dd..05d397eea 100644 --- a/ipaserver/install/installutils.py +++ b/ipaserver/install/installutils.py @@ -82,7 +82,7 @@ def verify_dns_records(host_name, responses, resaddr, family): rs = dnsclient.query(dns_addr.reverse_dns, dnsclient.DNS_C_IN, dnsclient.DNS_T_PTR) if len(rs) == 0: - raise RuntimeError("Cannot find Reverse Address for %s (%s)" % (host_name, addr)) + raise RuntimeError("Cannot find Reverse Address for %s (%s)" % (host_name, dns_addr.format())) rev = None for rsn in rs: @@ -91,7 +91,7 @@ def verify_dns_records(host_name, responses, resaddr, family): break if rev == None: - raise RuntimeError("Cannot find Reverse Address for %s (%s)" % (host_name, addr)) + raise RuntimeError("Cannot find Reverse Address for %s (%s)" % (host_name, dns_addr.format())) if rec.dns_name != rev.rdata.ptrdname: raise RuntimeError("The DNS forward record %s does not match the reverse address %s" % (rec.dns_name, rev.rdata.ptrdname)) |