|
From: Michael S. <mi...@st...> - 2014-11-24 17:31:40
|
HI! Using latest SVN revision creating an OcspKeyBinding with the command-line tool fails (see below). Ciao, Michael. # /opt/ejbca/bin/ejbca.sh keybind create --name "KB_OCSP_Server_1" --token "CT_OCSP1" --type OcspKeyBinding --alias privatesignkeyalias --sigalg SHA1WithRSA --verbose --status active --cert null SETTING: --name as KB_OCSP_Server_1 SETTING: --token as CT_OCSP1 SETTING: --type as OcspKeyBinding SETTING: --alias as privatesignkeyalias SETTING: --sigalg as SHA1WithRSA SETTING: --status as active SETTING: --cert as null Exception in thread "main" java.lang.IllegalArgumentException: No enum constant org.cesecore.keybind.InternalKeyBindingStatus.active at java.lang.Enum.valueOf(Enum.java:236) at org.cesecore.keybind.InternalKeyBindingStatus.valueOf(InternalKeyBindingStatus.java:21) at org.ejbca.ui.cli.keybind.InternalKeyBindingCreateCommand.execute(InternalKeyBindingCreateCommand.java:116) at org.ejbca.ui.cli.infrastructure.command.PasswordUsingCommandBase.execute(PasswordUsingCommandBase.java:202) at org.ejbca.ui.cli.infrastructure.library.CommandLibrary$Branch.execute(CommandLibrary.java:276) at org.ejbca.ui.cli.infrastructure.library.CommandLibrary$Branch.execute(CommandLibrary.java:286) at org.ejbca.ui.cli.infrastructure.library.CommandLibrary.findAndExecuteCommandFromParameters(CommandLibrary.java:67) at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:33) |