java.io.IOException: exception encrypting data - java.security.InvalidKeyException: Illegal key size

ejbca | edno | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Custom Publisher

    ejbca | 10 years ago | edno
    java.io.IOException: exception encrypting data - java.security.InvalidKeyException: Illegal key size

    Root Cause Analysis

    1. java.io.IOException

      exception encrypting data - java.security.InvalidKeyException: Illegal key size

      at org.bountycastle.jce.provider.JDKPKCS12KeyStore.wrapKey()
    2. org.bountycastle.jce
      JDKPKCS12KeyStore.engineStore
      1. org.bountycastle.jce.provider.JDKPKCS12KeyStore.wrapKey(Unknown Source)
      2. org.bountycastle.jce.provider.JDKPKCS12KeyStore.engineStore(Unknown Source)
      2 frames
    3. java
      securityKeyStore.store
      1. java.securityKeyStore.store(KeyStore.java:1117)
      1 frame
    4. org.ejbca.ui
      BatchMakeP12.main
      1. org.ejbca.ui.cli.batch.BatchMakeP12.storeKeyStore(BatchMakeP12.java:218)
      2. org.ejbca.ui.cli.batch.BatchMakeP12.createUser(BatchMakeP12.java:315)
      3. org.ejbca.ui.cli.batch.BatchMakeP12.processUser(BatchMakeP12.java:361)
      4. org.ejbca.ui.cli.batch.BatchMakeP12.doCreate(BatchMakeP12.java:390)
      5. org.ejbca.ui.cli.batch.BatchMakeP12.createAllWithStatus(BatchMakeP12.java:495)
      6. org.ejbca.ui.cli.batch.BatchMakeP12.createAllFailed(BatchMakeP12.java:430)
      7. org.ejbca.ui.cli.batch.BatchMakeP12.main(BatchMakeP12.java:608)
      7 frames