summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2012-09-19 08:01:40 -0400
committerMartin Kosek <mkosek@redhat.com>2012-09-20 13:58:53 +0200
commit4bb453510197bb2c51d7f9b334052d68151bca83 (patch)
tree84dd167fa0f199850a7c01a83678db6b00de1209 /ipaserver
parent9a167d667c3b3e10f6830d6e91a6a2ce25b3826b (diff)
downloadfreeipa-4bb453510197bb2c51d7f9b334052d68151bca83.tar.gz
freeipa-4bb453510197bb2c51d7f9b334052d68151bca83.tar.xz
freeipa-4bb453510197bb2c51d7f9b334052d68151bca83.zip
Use correct Dogtag port in ipaserver.install.certs
On an instance upgraded from Dogtag 9 to Dogtag 10, ipa-replica-prepare used the wrong port number. Fix that.
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/certs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/certs.py b/ipaserver/install/certs.py
index 0094d0b89..bfbba08f0 100644
--- a/ipaserver/install/certs.py
+++ b/ipaserver/install/certs.py
@@ -663,7 +663,7 @@ class CertDB(object):
result = dogtag.https_request(
self.host_name,
api.env.ca_ee_install_port or
- dogtag.install_constants.EE_SECURE_PORT,
+ dogtag.configured_constants().EE_SECURE_PORT,
"/ca/ee/ca/profileSubmitSSLClient",
self.secdir, password, "ipaCert", **params)
http_status, http_reason_phrase, http_headers, http_body = result
@@ -751,7 +751,7 @@ class CertDB(object):
result = dogtag.https_request(
self.host_name,
api.env.ca_ee_install_port or
- dogtag.install_constants.EE_SECURE_PORT,
+ dogtag.configured_constants().EE_SECURE_PORT,
"/ca/ee/ca/profileSubmitSSLClient",
self.secdir, password, "ipaCert", **params)
http_status, http_reason_phrase, http_headers, http_body = result