Meaningless Drivel is fun!
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
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? Error in loading the keystore: Private key decryption error: (java.lang.SecurityException: Unsupported keysize or algorithm parameters)
at Source)

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:
subject: error loading keystore
It's not a secret anymore!