diff options
author | tkogut <tomasz.kogut@nokia.com> | 2020-10-16 13:01:29 +0200 |
---|---|---|
committer | Adam Wudzinski <adam.wudzinski@nokia.com> | 2020-10-21 20:11:48 +0200 |
commit | 384b7b14722c5a2e351d61b3779869d680cebf8f (patch) | |
tree | b22cdd6ebe422728bc462a774c3af6f79de7e036 /sanitycheck/pnfsimulator-secured/certservice/ejbca-resources/ejbca-configuration.sh | |
parent | 9d44aaf054a1746149ce3bbc4c1e54e68d25f712 (diff) |
Adjust PNF simulator to use strict hostname checking.
Use separate keystore/truststore for ves.
Add network for communication between ves and pnfsim.
Issue-ID: INT-1744
Signed-off-by: tkogut <tomasz.kogut@nokia.com>
Change-Id: I6626ac6d6f74e739aeb93879eddfd44f9e9383ea
Diffstat (limited to 'sanitycheck/pnfsimulator-secured/certservice/ejbca-resources/ejbca-configuration.sh')
-rwxr-xr-x | sanitycheck/pnfsimulator-secured/certservice/ejbca-resources/ejbca-configuration.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sanitycheck/pnfsimulator-secured/certservice/ejbca-resources/ejbca-configuration.sh b/sanitycheck/pnfsimulator-secured/certservice/ejbca-resources/ejbca-configuration.sh deleted file mode 100755 index 77f5c55..0000000 --- a/sanitycheck/pnfsimulator-secured/certservice/ejbca-resources/ejbca-configuration.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -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 - ejbca.sh config cmp dumpalias --alias cmp - ejbca.sh ca getcacert --caname ManagementCA -f /dev/stdout > cacert.pem -} - -configureEjbca |