具有BouncyCastleProvider的KeyStore:KeyStore完整性检查失败 [英] KeyStore with BouncyCastleProvider: KeyStore integrity check failed

查看:445
本文介绍了具有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()

这篇关于具有BouncyCastleProvider的KeyStore:KeyStore完整性检查失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆