2014-02-13 144 views
0

我使用给定的蚂蚁错误而安装EJBCA 6

我的Linux机器上安装EJBCA 6使用以下命令

ant deploy 

我已经成功地部署它的jboss-AS-7的服务器,但是当我安装EJBCA使用ant install命令它给folloing错误

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

得到的答复

我刚刚删除的旧EJBCA数据库,并与相同的证书重新创建..

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

+0

你是如何清理旧的ejcba数据库?你使用h2或mysql或什么数据库? – Acapulco

+0

我正在使用mysql ..我只是用SQLyog清空了整个数据库 –