diff options
author | Marcin Przybysz <marcin.przybysz@nokia.com> | 2020-03-06 12:28:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-06 12:28:25 +0000 |
commit | 7ca7e9aabe2b2f35888e505061894ed0a491e4c2 (patch) | |
tree | 587c2703260cfcfb09caf38bff84190b36401f46 /plans/aaf/certservice/scripts/ejbca-configuration.sh | |
parent | d1a3a8cca3be661c9cff80615baeb8d456424d56 (diff) | |
parent | f630068299fc0e0fd6032e4558f2c9a3fd9c844d (diff) |
Merge "Add validation of recieved message and refactor code"
Diffstat (limited to 'plans/aaf/certservice/scripts/ejbca-configuration.sh')
-rwxr-xr-x | plans/aaf/certservice/scripts/ejbca-configuration.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plans/aaf/certservice/scripts/ejbca-configuration.sh b/plans/aaf/certservice/scripts/ejbca-configuration.sh index cdff77de..7ec1fa3a 100755 --- a/plans/aaf/certservice/scripts/ejbca-configuration.sh +++ b/plans/aaf/certservice/scripts/ejbca-configuration.sh @@ -8,9 +8,11 @@ configureEjbca() { ejbca.sh config cmp addalias --alias cmpRA ejbca.sh config cmp updatealias --alias cmpRA --key operationmode --value ra ejbca.sh ca editca --caname ManagementCA --field cmpRaAuthSecret --value mypassword + ejbca.sh config cmp updatealias --alias cmpRA --key responseprotection --value pbe ejbca.sh config cmp dumpalias --alias cmpRA ejbca.sh config cmp addalias --alias cmp ejbca.sh config cmp updatealias --alias cmp --key allowautomatickeyupdate --value true + ejbca.sh config cmp updatealias --alias cmp --key responseprotection --value pbe ejbca.sh ra addendentity --username Node123 --dn "CN=Node123" --caname ManagementCA --password mypassword --type 1 --token USERGENERATED ejbca.sh ra setclearpwd --username Node123 --password mypassword ejbca.sh config cmp updatealias --alias cmp --key extractusernamecomponent --value CN @@ -18,5 +20,5 @@ configureEjbca() { ejbca.sh ca getcacert --caname ManagementCA -f /dev/stdout > cacert.pem } -waitForEjbcaStartUp 30 +waitForEjbcaStartUp 45 configureEjbca |