From d1c5d92897d3e262edd2e43295c1270590aebd3d Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Fri, 24 Feb 2017 13:00:25 +0100 Subject: [PATCH] Use https to get security domain from Dogtag Signed-off-by: Christian Heimes Reviewed-By: Tomas Krizek --- ipaserver/install/dogtaginstance.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ipaserver/install/dogtaginstance.py b/ipaserver/install/dogtaginstance.py index 9cbd34942..356358adf 100644 --- a/ipaserver/install/dogtaginstance.py +++ b/ipaserver/install/dogtaginstance.py @@ -47,7 +47,11 @@ def get_security_domain(): Get the security domain from the REST interface on the local Dogtag CA This function will succeed if the local dogtag CA is up. """ - connection = PKIConnection() + connection = PKIConnection( + protocol='https', + hostname=api.env.ca_host, + port='8443' + ) domain_client = pki.system.SecurityDomainClient(connection) info = domain_client.get_security_domain_info() return info