From: Remigiusz Janeczek Date: Fri, 2 Jul 2021 09:23:33 +0000 (+0200) Subject: [OOM-CERT-SERVICE] Fix EJBCA "CA with name - does not exist" error X-Git-Tag: 2.4.0~18 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=430b63820a2e1807e45ca9fba21d81be8b9fd5ee;p=oom%2Fplatform%2Fcert-service.git [OOM-CERT-SERVICE] Fix EJBCA "CA with name - does not exist" error When sending KUR request to EJBCA it fails with error: "CA with name - does not exist" Issue-ID: OOM-2753 Signed-off-by: Remigiusz Janeczek Change-Id: I19d41fd1c8718d5b7e82f361d398c1ebe2545401 --- diff --git a/compose-resources/ejbca-configuration.sh b/compose-resources/ejbca-configuration.sh index f7cd4288..3094b7f7 100755 --- a/compose-resources/ejbca-configuration.sh +++ b/compose-resources/ejbca-configuration.sh @@ -16,6 +16,7 @@ configureEjbca() { ejbca.sh ca editca --caname ManagementCA --field cmpRaAuthSecret --value mypassword ejbca.sh config cmp updatealias --alias cmpRA --key responseprotection --value signature ejbca.sh config cmp updatealias --alias cmpRA --key authenticationmodule --value 'HMAC;EndEntityCertificate' + ejbca.sh config cmp updatealias --alias cmpRA --key authenticationparameters --value '-;ManagementCA' ejbca.sh config cmp updatealias --alias cmpRA --key allowautomatickeyupdate --value true ejbca.sh ca importprofiles -d /opt/primekey/custom_profiles #Profile name taken from certprofile filename (certprofile_-.xml)