告诉Java使用Windows密钥库 [英] Tell Java to use Windows keystore

查看:435
本文介绍了告诉Java使用Windows密钥库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的客户使用自己的根CA来进行内部应用。证书在Windows密钥库中,但不在Java密钥库中。如何告诉我的Java Web Start应用程序使用Windows密钥库搜索SSL连接的valide证书?导入证书到每个Java密钥库是没有选择!

Our customer is using its own Root CA for internal applicatins. The certificate is in the Windows Keystore but not in the Java Keystore. How can I tell my Java Web Start Application to use the Windows Keystore for searching the valide cert for SSL connections? Importing the cert into each Java Keystore is no option!

编辑:主要原因,我想使用Windows密钥库是验证我签名的应用程序的证书

Main reason I want to use the Windows keystore is to verify the certificate of my signed application

推荐答案

JVM将在JREPATH \lib \security \cacerts中搜索证书,因此,如果它是不是一个选项,那么我想你将无法使用应用程序

The JVM will search for the certificate in the JREPATH\lib\security\cacerts so you have to add it there if it is not an option then I guess you won't be able to use the application

这篇关于告诉Java使用Windows密钥库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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