diff options
author | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2021-07-02 11:23:33 +0200 |
---|---|---|
committer | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2021-07-02 12:06:43 +0200 |
commit | 430b63820a2e1807e45ca9fba21d81be8b9fd5ee (patch) | |
tree | 6da56ee4cd868d6ff94ddcf74de81ce5fb040130 | |
parent | c3d5eb94b097b3375d09f0cd53cb511b084174e9 (diff) |
[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 <remigiusz.janeczek@nokia.com>
Change-Id: I19d41fd1c8718d5b7e82f361d398c1ebe2545401
-rwxr-xr-x | compose-resources/ejbca-configuration.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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_<profile-name>-<id>.xml) |