diff options
author | Jack Magne <jmagne@localhost.localdomain> | 2015-05-07 15:38:47 -0700 |
---|---|---|
committer | Jack Magne <jmagne@localhost.localdomain> | 2015-05-07 17:13:27 -0700 |
commit | 00d7baffb31bdabc92c954b16050236a5ca29715 (patch) | |
tree | 1295111c265a99d8d6a2e915e15a4cad41a35968 /base/server/python/pki/server | |
parent | 73fb345e06b70d23a852743e4dc81ef6063e738a (diff) | |
download | pki-00d7baffb31bdabc92c954b16050236a5ca29715.tar.gz pki-00d7baffb31bdabc92c954b16050236a5ca29715.tar.xz pki-00d7baffb31bdabc92c954b16050236a5ca29715.zip |
Simple fix for this is not requiring the pki_client_database_password to be set when performing a clone operation.
Tested with a cloned CA and a couple of other subysstems, such as OCSP.
Diffstat (limited to 'base/server/python/pki/server')
-rw-r--r-- | base/server/python/pki/server/deployment/pkihelper.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/server/python/pki/server/deployment/pkihelper.py b/base/server/python/pki/server/deployment/pkihelper.py index e6f001910..4a8398afc 100644 --- a/base/server/python/pki/server/deployment/pkihelper.py +++ b/base/server/python/pki/server/deployment/pkihelper.py @@ -563,7 +563,9 @@ class ConfigurationFile: if config.str2bool(self.mdict['pki_backup_keys']): self.confirm_data_exists("pki_backup_password") # Verify existence of Client Pin for NSS client security databases - self.confirm_data_exists("pki_client_database_password") + # if not a clone. + if not self.clone: + self.confirm_data_exists("pki_client_database_password") # Verify existence of Client PKCS #12 Password for Admin Cert self.confirm_data_exists("pki_client_pkcs12_password") # Verify existence of PKCS #12 Password (ONLY for Clones) |