aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "error loading keystore" Watch "error loading keystore" New topic
Author

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,
Sunil
Rahul Bhattacharjee
Ranch Hand

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


Rahul Bhattacharjee
LinkedIn - Blog
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

Are you using the IBM JDK ?

http://www-1.ibm.com/support/docview.wss?uid=swg21169931


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