URL: https://github.com/freeipa/freeipa/pull/507
Author: tiran
 Title: #507: Use https to get security domain from Dogtag
Action: opened

PR body:
Signed-off-by: Christian Heimes <chei...@redhat.com>

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 50b52ca415e448f45f7a90e4516e67d96f5cdc0e 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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipaserver/install/dogtaginstance.py b/ipaserver/install/dogtaginstance.py
index cbaaa25..da82345 100644
--- a/ipaserver/install/dogtaginstance.py
+++ b/ipaserver/install/dogtaginstance.py
@@ -51,7 +51,7 @@ 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', 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:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to