diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-15 13:50:31 -0700 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2009-01-15 13:50:31 -0700 |
commit | 2f829d015b5f7b967623f03ebee5770af2bbc541 (patch) | |
tree | 1c42ba7587450f2f7a78702541779b021f660a5b | |
parent | 4d4fa694ee2b84975a0e7596b51e21109f58a76d (diff) | |
parent | 1d1a44bd703073ef735b51cb7fb4fc0dbd92a80f (diff) | |
download | freeipa-2f829d015b5f7b967623f03ebee5770af2bbc541.tar.gz freeipa-2f829d015b5f7b967623f03ebee5770af2bbc541.tar.xz freeipa-2f829d015b5f7b967623f03ebee5770af2bbc541.zip |
Merge branch 'master' of git://fedorapeople.org/~jhrozek/plugin
-rw-r--r-- | ipaserver/plugins/b_ra.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/plugins/b_ra.py b/ipaserver/plugins/b_ra.py index 544b163cf..e6a9b63f4 100644 --- a/ipaserver/plugins/b_ra.py +++ b/ipaserver/plugins/b_ra.py @@ -327,7 +327,7 @@ class ra(Backend): if certificate_request is not None: params = urllib.urlencode({'profileId': 'caServerCert', 'cert_request_type': 'pkcs10', 'requestor_name': 'freeIPA', 'cert_request': self.__generate_ipa_request(), 'xmlOutput': 'true'}) headers = {"Content-type": "application/x-www-form-urlencoded"} - conn = httplib.HTTPConnection(self.ca_host+":"+elf.ca_port) + conn = httplib.HTTPConnection(self.ca_host+":"+self.ca_port) conn.request("POST", "/ca/ee/ca/profileSubmit", params, headers) response = conn.getresponse() api.log.debug("IPA-RA: response.status: %d response.reason: '%s'" % (response.status, response.reason)) @@ -338,7 +338,7 @@ class ra(Backend): def __get_ca_chain(self): headers = {"Content-type": "application/x-www-form-urlencoded"} - conn = httplib.HTTPConnection(self.ca_host+":"+elf.ca_port) + conn = httplib.HTTPConnection(self.ca_host+":"+self.ca_port) conn.request("POST", "/ca/ee/ca/getCertChain", None, headers) response = conn.getresponse() api.log.debug("IPA-RA: response.status: %d response.reason: '%s'" % (response.status, response.reason)) |