4

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

LisaMM
  • 675
  • 1
  • 16
  • 28
Campbell
  • 2,848
  • 3
  • 28
  • 26

5 Answers5

4

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.

rogerdpack
  • 62,887
  • 36
  • 269
  • 388
Craig Day
  • 2,525
  • 1
  • 24
  • 26
2

Do not include special characters in organization name and unit

Jayesh
  • 21
  • 1
0

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

DeeCee
  • 400
  • 2
  • 6
0

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)

rogerdpack
  • 62,887
  • 36
  • 269
  • 388
-1

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!

Emperor 2052
  • 517
  • 1
  • 5
  • 14