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:59:02 +0200
commit7c8130c4337ea9c174a4d036a499dcb87d2a7e29 (patch)
tree688e955a4577ee65172abf773cb62782437495b1 /ipaserver
parent6d6b5b2028b330bb1d0a6cf38f83c2b2a1350ddd (diff)
downloadfreeipa.git-7c8130c4337ea9c174a4d036a499dcb87d2a7e29.tar.gz
freeipa.git-7c8130c4337ea9c174a4d036a499dcb87d2a7e29.tar.xz
freeipa.git-7c8130c4337ea9c174a4d036a499dcb87d2a7e29.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 0094d0b8..bfbba08f 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