summaryrefslogtreecommitdiffstats
path: root/base/deploy/src/scriptlets/pkijython.py
diff options
context:
space:
mode:
Diffstat (limited to 'base/deploy/src/scriptlets/pkijython.py')
-rw-r--r--base/deploy/src/scriptlets/pkijython.py5
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" + " " +\