wood burning stoves 2.0
The moose likes Security and the fly likes error loading keystore Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "error loading keystore" Watch "error loading keystore" New topic

error loading keystore

sunil kumre
Ranch Hand

Joined: Dec 23, 2000
Posts: 64
I'm getting this error when our application tries to load a KeyStore of type PKCS12 from the given input stream.

Any ideas what could be wrong?

java.io.IOException: Error in loading the keystore: Private key decryption error: (java.lang.SecurityException: Unsupported keysize or algorithm parameters)
at com.ibm.crypto.provider.PKCS12KeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(KeyStore.java:695)

Thanks in advance,
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
KeyStore type may be different from PKCS12.

Rahul Bhattacharjee
LinkedIn - Blog
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

Are you using the IBM JDK ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
I agree. Here's the link: http://aspose.com/file-tools
subject: error loading keystore