From 62033f12b40e6eb3270c352e966a7461f152dfd6 Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Tue, 18 Dec 2012 16:05:55 -0500 Subject: Make admin cert p12 file location configurable Ticket 437. Also moved a bunch of client path parameters to default.cfg template file. --- base/deploy/src/scriptlets/pkijython.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'base/deploy/src/scriptlets/pkijython.py') diff --git a/base/deploy/src/scriptlets/pkijython.py b/base/deploy/src/scriptlets/pkijython.py index e6a4a915e..fac352fdb 100644 --- a/base/deploy/src/scriptlets/pkijython.py +++ b/base/deploy/src/scriptlets/pkijython.py @@ -613,6 +613,11 @@ class rest_client: log.PKI_JYTHON_ADMIN_CERT_IMPORT +\ " " + "'" + command + "'") os.system(command) + + # create directory for p12 file if it does not exist + self.mkdirs(os.path.dirname( + master['pki_client_admin_cert_p12'])) + # Export the Administration Certificate from the # client NSS security database into a PKCS #12 file command = "pk12util" + " " +\ -- cgit