开发者

cacerts issue in JAVA and OPEN JDK 6

how can i build cacerts automatically in java , instead of using the Jre/lib/security/cacerts because openJDK didn't 开发者_如何学Pythoncontain the cacerts file.


You can create your own keystore using the keytool. Then you must import all CAs (Certificate Authorities) you need and either place the keystore in <JRE>/lib/security or explicitly set it using a system property. See this post for details.

Of course, you could reuse an existing keystore available in other JDKs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜