Tell Java to use Windows keystore

一笑奈何 提交于 2019-12-13 18:42:16

问题


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!

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


回答1:


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



来源:https://stackoverflow.com/questions/24904138/tell-java-to-use-windows-keystore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!