关闭

ejbca安装过程当中的错误

1022人阅读 评论(0) 收藏 举报

     [java] java.io.IOException: exception encrypting data - java.lang.SecurityE
xception: Unsupported keysize or algorithm parameters
     [java]     at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.wrapKey(Unkno
wn Source)
     [java]     at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineStore(U
nknown Source)
     [java]     at java.security.KeyStore.store(KeyStore.java:620)
     [java]     at org.ejbca.ui.cli.batch.BatchMakeP12.storeKeyStore(BatchMakeP1
2.java:209)
     [java]     at org.ejbca.ui.cli.batch.BatchMakeP12.createUser(BatchMakeP12.j
ava:297)
     [java]     at org.ejbca.ui.cli.batch.BatchMakeP12.processUser(BatchMakeP12.
java:341)
     [java]     at org.ejbca.ui.cli.batch.BatchMakeP12.doCreate(BatchMakeP12.jav
a:368)
     [java]     at org.ejbca.ui.cli.batch.BatchMakeP12.createAllWithStatus(Batch
MakeP12.java:456)
     [java]     at org.ejbca.ui.cli.batch.BatchMakeP12.createAllNew(BatchMakeP12
.java:394)
     [java]     at org.ejbca.ui.cli.batch.BatchMakeP12.main(BatchMakeP12.java:56
1)
     [java] 4235 [main] INFO  org.ejbca.ui.cli.batch.BatchMakeP12  - Generating
keys for tomcat
     [java] 7047 [main] INFO  org.ejbca.ui.cli.batch.BatchMakeP12  - Created Key
store for tomcat.
     [java] 7141 [main] INFO  org.ejbca.ui.cli.batch.BatchMakeP12  - New user ge
nerated successfully - tomcat
     [java] java.lang.Exception: BatchMakeP12 failed for 1 users (1 succeeded) -
 :superadmin
     [java]     at org.ejbca.ui.cli.batch.BatchMakeP12.createAllWithStatus(Batch
MakeP12.java:478)
     [java]     at org.ejbca.ui.cli.batch.BatchMakeP12.createAllNew(BatchMakeP12
.java:394)
     [java]     at org.ejbca.ui.cli.batch.BatchMakeP12.main(BatchMakeP12.java:56
1)
     [java] Java Result: 1
     [echo] Creating root certificate in DER format...
     [echo] ca getrootcert AdminCASourceware C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/
/rootca.der -der
     [java] Wrote Root CA certificate to 'C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp//ro
otca.der'
     [exec] keytool错误: java.io.IOException: Keystore was tampered with, or pa
ssword was incorrect
     [exec] Result: 1
     [exec] keytool错误: java.io.IOException: Keystore was tampered with, or pa
ssword was incorrect
     [exec] Result: 1
   [delete] Deleting: C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/rootca.der

 

第一个错误是没有下载新的jce导致

 

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:357341次
    • 积分:4534
    • 等级:
    • 排名:第6515名
    • 原创:102篇
    • 转载:10篇
    • 译文:0篇
    • 评论:101条
    最新评论
    Template Engine