0

我正在使用给定的 ant 在我的 linux 机器上安装 EJBCA 6

我已使用以下命令成功将其部署在 jboss-as-7 服务器中

ant deploy

ant install 但是当我使用命令安装 ejbca 时,它会出现以下错误

ejbca:initCA:
     [echo] Initializing CA with 'myCompnyCA1' 'CN=myCompnyCA1,O=myCompny,C=US' 'soft' <ca.tokenpassword hidden> '2048' 'RSA' '3650' 'null' 'SHA1WithRSA'   -superadmincn 'SuperAdmin'...
     [java] CLI authentication failed. The user 'ejbca' with the given password does not exist.

ejbca:adminweb:
     [java] CLI authentication failed. The user 'ejbca' with the given password does not exist.
     [java] CLI authentication failed. The user 'ejbca' with the given password does not exist.
     [echo] batch tomcat
     [java] CLI authentication failed. The user 'ejbca' with the given password does not exist.
     [java] CLI authentication failed. The user 'ejbca' with the given password does not exist.
     [java] CLI authentication failed. The user 'ejbca' with the given password does not exist.

ejbca:batchsuperadmin:
     [echo] batch superadmin
     [java] CLI authentication failed. The user 'ejbca' with the given password does not exist.

BUILD FAILED
/home/indra/EJBCA_6_and_jobss_as_7/ejbca_ce_6_0_3/build.xml:60: The following error occurred while executing this line:
/home/indra/EJBCA_6_and_jobss_as_7/ejbca_ce_6_0_3/build.xml:66: The following error occurred while executing this line:
/home/indra/EJBCA_6_and_jobss_as_7/ejbca_ce_6_0_3/bin/cli.xml:96: The following error occurred while executing this line:
/home/indra/EJBCA_6_and_jobss_as_7/ejbca_ce_6_0_3/bin/cli.xml:137: Batch generation failed!

请帮我...

4

1 回答 1

0

得到了答案

我刚刚删除了旧的 ejbca 数据库并使用相同的凭据重新创建..

问题是:-过去我使用的是ejbca 4 ..为此我创建了名为ejbca的数据库,我试图为ejbca 6使用相同的数据库,这给出了错误,最后删除和创建数据库解决了我的问题

于 2014-02-13T06:49:48.653 回答