Java: invalid error storage format

Does anyone know how to solve this Java error?

java.io.IOException: Invalid keystore format

I get it when I try to access the certificate store from the Java option in the control panels. This stops me from loading applets that require elevated privileges.

Error image

+3
source share
5 answers

I was able to reproduce the error by translating the trusted.certs file into the directory

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

Deleting the file fixes the problem.

+4
source

Do not include special characters in the organization name and unit

+2
source

This seems to be a missing certificate or an invalid format. Have you already created a certificate using keytool?

0
source

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

0
source

For you guys who can’t find “Documents and Settings” (for whatever reason maybe), this is another way where trusted.certs can be found:

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

Hope this helps!

-1
source

Source: https://habr.com/ru/post/1697451/


All Articles