Search code examples
javakeystore

Java: Invalid Keystore format Error


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


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.