我使用给定的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!
请帮帮我......
答案 0 :(得分:0)
得到了答案
我刚删除旧的ejbca数据库并使用相同的凭据重新创建..
问题是: - 在过去我使用ejbca 4 ..因为我创建了名为ejbca的数据库,我试图使用相同的数据库为ejbca 6提供错误,最后删除和创建数据库解决了我的问题