diff options
author | Ade Lee <alee@redhat.com> | 2012-12-18 16:05:55 -0500 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-12-19 00:07:04 -0500 |
commit | 62033f12b40e6eb3270c352e966a7461f152dfd6 (patch) | |
tree | a3547ccefdfc74d86530360bf5685abf32cf95d1 /base/deploy/src/scriptlets/pkijython.py | |
parent | c3fdb8ffc11938514d96760c9a62d619f90cbcca (diff) | |
download | pki-62033f12b40e6eb3270c352e966a7461f152dfd6.tar.gz pki-62033f12b40e6eb3270c352e966a7461f152dfd6.tar.xz pki-62033f12b40e6eb3270c352e966a7461f152dfd6.zip |
Make admin cert p12 file location configurable
Ticket 437. Also moved a bunch of client path parameters to
default.cfg template file.
Diffstat (limited to 'base/deploy/src/scriptlets/pkijython.py')
-rw-r--r-- | base/deploy/src/scriptlets/pkijython.py | 5 |
1 files changed, 5 insertions, 0 deletions
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" + " " +\ |