具有BouncyCastleProvider的KeyStore:KeyStore完整性检查失败
问题描述:
我想对ssl连接使用自签名签名.我正在关注此帖子.
I want to use a self-signed signature for ssl connections. I'm following this post.
我的问题:创建密钥库后,完整性检查失败.
My problem: After creating the Keystore my integrity-check fails.
Keytool-Error: java.io.IOException: KeyStore integrity check failed.
我仍在搜索,但也许有人可以为我节省一些时间.
I'm still searching but maybe someone can save me some time.
答
确保使用正确的密码打开密钥库.我遇到此错误,结果发现我仍在使用trusted.load()
Make sure you are using the right password to open the keystore. I was having this error and turns out I was still using the password from the example code in trusted.load()