java.io.IOException: Invalid Keystore format

前端 未结 10 1500

Does anyone know how to solve this? I tried many things, but none of them worked.

And when I click more details I get this:

at sun.security.provider.         


        
10条回答
  •  佛祖请我去吃肉
    2020-12-10 01:10

    I think the keystore file you want to use has a different or unsupported format in respect to your Java version. Could you post some more info of your task?

    In general, to solve this issue you might need to recreate the whole keystore (using some other JDK version for example). In export-import the keys between the old and the new one - if you manage to open the old one somewhere else.

    If it is simply an unsupported version, try the BouncyCastle crypto provider for example (although I'm not sure If it adds support to Java for more keystore types?).

    Edit: I looked at the feature spec of BC.

提交回复
热议问题