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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ejbca by edno
, 1 year ago
exception encrypting data - java.security.InvalidKeyException: Illegal key size
java.io.IOException: exception encrypting data - java.security.InvalidKeyException: Illegal key size
at org.bountycastle.jce.provider.JDKPKCS12KeyStore.wrapKey(Unknown Source)
at org.bountycastle.jce.provider.JDKPKCS12KeyStore.engineStore(Unknown Source)
at java.securityKeyStore.store(KeyStore.java:1117)
at org.ejbca.ui.cli.batch.BatchMakeP12.storeKeyStore(BatchMakeP12.java:218)
at org.ejbca.ui.cli.batch.BatchMakeP12.createUser(BatchMakeP12.java:315)
at org.ejbca.ui.cli.batch.BatchMakeP12.processUser(BatchMakeP12.java:361)
at org.ejbca.ui.cli.batch.BatchMakeP12.doCreate(BatchMakeP12.java:390)
at org.ejbca.ui.cli.batch.BatchMakeP12.createAllWithStatus(BatchMakeP12.java:495)
at org.ejbca.ui.cli.batch.BatchMakeP12.createAllFailed(BatchMakeP12.java:430)
at org.ejbca.ui.cli.batch.BatchMakeP12.main(BatchMakeP12.java:608)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.