错误版本的密钥库

时间:2013-12-04 15:49:09

标签: java android ssl keystore

使用密钥库初始化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

我该如何解决这个问题?

0 个答案:

没有答案