使用密钥库初始化Android项目中的SSLSocketFactory
并收到以下错误:
java.lang.IllegalStateException: SSL keystore not found or invalid...
Caused by: java.io.IOException: Wrong version of key store.
at com.android.org.bouncycastle.jce.provider.JDKKeyStore.engineLoad(JDKKeyStore.java:812)
at java.security.KeyStore.load(KeyStore.java:589)
at com.coolapp.real.ui.android.test.CoolHttpClient.coolSSLSocketFactory(CoolHttpClient.java:77)
... 20 more
我该如何解决这个问题?