当我将认证文件导入keystore时,我遇到了这个问题:
密钥工具错误: java.lang.Exception:回复中的公钥和密钥库不匹配
我这样做的操作如下:
1)在服务器上创建我的密钥库:
keytool -genkey -keystore C:\keystore\keystore -alias jboss -keyalg RSA
2)我有domain.pfx,并用下面的命令转换它:
domain.cer
现在我有3个新文件:
3)最后,将domain.cer导入jboss别名中的C:\keystore\keystore:
keytool -import -alias jboss -keystore C:\keystore\keystore -file C:\cert\domain.cer
但是我有这个错误:
密钥工具错误: java.lang.Exception:回复中的公钥和密钥库不匹配
有什么问题吗?
https://stackoverflow.com/questions/26256856
复制相似问题