Question

Does anyone know how to solve this java error?

java.io.IOException: Invalid keystore format

I get it when I try and access the certificate store from the Java option in control panels. It's stopping me from loading applets that require elevated privileges.

Error Image

Was it helpful?

Solution

I was able to reproduce the error by mangling the trusted.certs file at directory

C:\Documents and Settings\CDay\Application Data\Sun\Java\Deployment\security.

Deleting the file fixed the problem.

OTHER TIPS

Do not include special characters in organization name and unit

Seems to be a missing certificate or an invalid format. Did you already generate a certificate with keytool?

for me it meant that my key file I was trying to import was invalid (it was actually a 404 page not a valid key)

For you guys who can't find the 'Documents and Settings' (whatever reason there may be) here is another path where the trusted.certs can be found:

C:\Users\<username>\AppData\LocalLow\Sun\Java\Deployment\security

Hope this helps!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top