URL: https://github.com/freeipa/freeipa/pull/507 Author: tiran Title: #507: Use https to get security domain from Dogtag Action: synchronized
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/507/head:pr507 git checkout pr507
From e77be2e78857bfde3c958e4adecace978693ff3f Mon Sep 17 00:00:00 2001 From: Christian Heimes <chei...@redhat.com> Date: Fri, 24 Feb 2017 13:00:25 +0100 Subject: [PATCH] Use https to get security domain from Dogtag Signed-off-by: Christian Heimes <chei...@redhat.com> --- 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 cbaaa25..48f054d 100644 --- a/ipaserver/install/dogtaginstance.py +++ b/ipaserver/install/dogtaginstance.py @@ -51,7 +51,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
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code