从密钥库导出的Java 1.8和.pxF文件的问题
当我尝试安装从Java密钥库导出的.pfx文件时,我有问题,当我使用Java 1.8 Update 321。
逐步逐步: C:\ ssl>设置路径=%路径%;“ c:\ java \ jdk1.8.0_321 \ bin”
c:\ ssl> KEYTOOL -GENKEY -ALIAS SERVER -KEYALG RSA -KEYSIZE 2048 -KEYSTORE REPORTING.JKS -DNAME“ cn = replesterver.itech.com,ou = company,o = ocompany,l = bsas,l = bsas,st = bsas,c = ar” reporting1 -storepass Reporting1 -destStoreType PKCS12
C:\ ssl> KEYTOOL -IMPORTKEYSTORE -SRCKEYSTORE REPORTING.JKS -DESTKEYSTORE REPLATERVER.ITECH.COM.PFX -SRCSTORETYPE jks -destStoreType pkcs12
C:\ ssl> certutil –f - p reporting1 –importpfx reverterver.itech.com.pfx
certutil:-importpfx命令失败:0x80090020(-2146893792 NTE_FAIL) certutil:发生内部错误。
我用java 1.7对其进行了测试,而且我没有同样的问题。
有什么想法吗?
I have an issue when I try to install a .pfx file exported from java keystore, it's happen when I use Java 1.8 update 321.
Step by step:
C:\SSL> set path=%path%;"C:\Java\jdk1.8.0_321\bin"
C:\SSL> keytool -genkey -alias server -keyalg RSA -keysize 2048 -keystore reporting.jks -dname "CN=reportserver.itech.com, OU=Company, O=OCompany, L=BSAS, ST=BSAS, C=AR" -keypass Reporting1 -storepass Reporting1 -deststoretype PKCS12
C:\SSL> keytool -importkeystore -srckeystore reporting.jks -destkeystore reportserver.itech.com.pfx -srcstoretype JKS -deststoretype PKCS12
C:\SSL> certutil –f –p Reporting1 –importpfx reportserver.itech.com.pfx
CertUtil: -importPFX command FAILED: 0x80090020 (-2146893792 NTE_FAIL)
CertUtil: An internal error occurred.
I tested it with java 1.7 and I don't have the same issue.
Any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论