EJBCA installation process

xiaoxiao2021-03-31  206

[Java] java.io.IOException: exception encrypting data - java.lang.SecurityException: Unsupported keysize or algorithm parameters [java] at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.wrapKey (Unknown Source) [java] at org.bouncycastle .jce.provider.JDKPKCS12KeyStore.engineStore (Unknown Source) [java] at java.security.KeyStore.store (KeyStore.java:620) [java] at org.ejbca.ui.cli.batch.BatchMakeP12.storeKeyStore (BatchMakeP12. Java: 209) [Java] at Org.Ejbca.ui.cli.batch.batchmakep12.createuser (BatchMakep12.java: 297) [java] at Org.EJBCA.UI.CLI.BATCH.BATCHMAKEP12.PROCESSUSER (Batchmakep12.java: 341) [java] at org.ejbca.ui.cli.batch.BatchMakeP12.doCreate (BatchMakeP12.java:368) [java] at org.ejbca.ui.cli.batch.BatchMakeP12.createAllWithStatus (BatchMakeP12.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: 561 [Java] 4235 [main] info org.ejbca.ui.cli.batch.batchmakep12 - generatingKeys for tomcat [java] 7047 [main] info org.ejbca.ui.cli.batch.batchmakep12 - create keystore for tomcat. [ java] 7141 [main] INFO org.ejbca.ui.cli.batch.BatchMakeP12 - New user generated successfully - tomcat [java] java.lang.Exception: BatchMakeP12 failed for 1 users (1 succeeded) -: superadmin [java] at org.ejbca.ui.cli.batch.BatchMakeP12.createAllWithStatus (BatchMakeP12.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: 561) [Java] Java Result:

1 [echo] CREANG ROOT CERTIFICATE IN DER FORMAT ... [Echo] CA GetrootCert Admin, 1/Admini ~ 1/locals ~ 1/temp//rootca.der -der [java] wrote root ca Certificate To 'C: /docume ~ 1/admini ~ 1/locals ~ 1/temp//rootca.der' [exec] Keytool error: java.io.IOException: Keystore Was Tampered with, or password Was incorrect [Exec] Result: 1 [EXEC] KeyTool error: java.io.ioException: Keystore Was Tampered with, or password Was incorrect [Exec] Result: 1 [delete] deleting: c: / docume ~ 1 / admini ~ 1 / locals ~ 1 / temp / rootca The first error of .der download JCE to solve it.

Second error adopts manual installation method:

Bin / EJBCA.SH CA GETROOTCERT Admin Ca Gtroot - DerkeyTool-Import -TrustCacerts -alias admin, ketteore $ java_home / jre / lib / security / ca.crts

转载请注明原文地址:https://www.9cbs.com/read-130950.html

New Post(0)