java.io.IOException: Invalid Keystore format

前端 未结 10 1505

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:17

    Same issue here, I have Oracle JDK installed and my keystore was created using that, but in the jceks format

    keytool -importkeystore -destkeystore client.keystore \
        -srckeystore redislabs_user.p12 -srcstoretype pkcs12 \
        -deststoretype jceks -alias client-cert
    

    I deleted the -deststoretype jceks option and it worked fine :)

提交回复
热议问题