Skip to content

[BUG] CMP alias created with ejbca.sh requires extra save in GUI #832

@epistula76

Description

@epistula76

Describe the Bug

In my test setup, I create CMP aliases using

docker exec ejbca /opt/keyfactor/ejbca/bin/ejbca.sh config cmp addalias ... &
docker exec ejbca /opt/keyfactor/ejbca/bin/ejbca.sh config cmp updatealias ...

This works without any problems, but if actions are started against the paths with 'cmp ir' or 'cmp kur' for example, this error appears in the log:

ERROR [org.ejbca.core.protocol.cmp.authentication.VerifyPKIMessage] (default task-4) The number of authentication modules does not match the number of authentication parameters. 1 modules - 2 parameters
INFO [org.ejbca.core.protocol.cmp.RevocationMessageHandler] (default task-4) CMP module configuration error.

This problem can be solved quite easily by briefly calling up the CMP aliases in the GUI using edit and save. Then everything works as expected.

Expected Behavior

The extra round in the GUI should not be necessary.

Product Deployment

Debian 12 in WSL2
https://hub.docker.com/r/keyfactor/ejbca-ce
Version: 9.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions