Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经搜索过这个,但没有一个明确的答案。我在我的系统上创建了一个密钥库。当我的应用程序运行时,它接受自签名证书并将它们添加到密钥库中没有问题。但是,必须重新启动整个应用程序才能使更改生效。
如何让 java 重新加载密钥库?
System.setProperty("javax.net.ssl.keyStore", "keystore");
提前谢谢了。