Hi,

the attached patch fixes <https://fedorahosted.org/freeipa/ticket/5462>.

Honza

--
Jan Cholasta
From d371aa19b35441a408a68034327e302237b71f9e Mon Sep 17 00:00:00 2001
From: Jan Cholasta <jchol...@redhat.com>
Date: Thu, 19 Nov 2015 08:50:05 +0100
Subject: [PATCH] install: export KRA agent PEM file in ipa-kra-install

https://fedorahosted.org/freeipa/ticket/5462
---
 ipaserver/install/krainstance.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ipaserver/install/krainstance.py b/ipaserver/install/krainstance.py
index e75860d..ed47be7 100644
--- a/ipaserver/install/krainstance.py
+++ b/ipaserver/install/krainstance.py
@@ -266,6 +266,8 @@ class KRAInstance(DogtagInstance):
 
         shutil.move(paths.KRA_BACKUP_KEYS_P12, paths.KRACERT_P12)
 
+        export_kra_agent_pem()
+
         self.log.debug("completed creating KRA instance")
 
     def __create_kra_agent(self):
-- 
2.4.3

-- 
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

Reply via email to