summaryrefslogtreecommitdiffstats
path: root/base/server/python/pki/server/deployment/pkihelper.py
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-05-06 16:19:19 -0400
committerEndi S. Dewata <edewata@redhat.com>2015-05-11 10:20:04 -0400
commit6ee510efe491b1e2afd7e9901eee690365fd8bbb (patch)
treed7c07b1380f92589adba578dff810744b17cbe52 /base/server/python/pki/server/deployment/pkihelper.py
parent7dca020819b7573cd05bd54482fb5d1afe9bb658 (diff)
downloadpki-6ee510efe491b1e2afd7e9901eee690365fd8bbb.tar.gz
pki-6ee510efe491b1e2afd7e9901eee690365fd8bbb.tar.xz
pki-6ee510efe491b1e2afd7e9901eee690365fd8bbb.zip
Added options for internal token and replication passwords.
The installation code has been modified such that the admin can optionally specify passwords for internal token and replication. Otherwise the code will generate random passwords like before. https://fedorahosted.org/pki/ticket/1354
Diffstat (limited to 'base/server/python/pki/server/deployment/pkihelper.py')
-rw-r--r--base/server/python/pki/server/deployment/pkihelper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/server/python/pki/server/deployment/pkihelper.py b/base/server/python/pki/server/deployment/pkihelper.py
index 1521ef339..5527d7f94 100644
--- a/base/server/python/pki/server/deployment/pkihelper.py
+++ b/base/server/python/pki/server/deployment/pkihelper.py
@@ -3821,6 +3821,8 @@ class ConfigClient:
if not self.clone:
self.set_admin_parameters(data)
+ data.replicationPassword = self.mdict['pki_replication_password']
+
# Issuing CA Information
self.set_issuing_ca_parameters(data)