Rebooting Java Keystore at runtime

I searched around this, but there really wasn’t a clear answer. I created a keystore on my system. As my application launches, it accepts self-signed certificates and adds them to the keystore without any problems. However, the entire application must be restarted for the changes to take effect.

How can I get java to reload the keystore?

System.setProperty("javax.net.ssl.keyStore", "keystore"); 

Thank you very much in advance.

+7
java ssl keystore
source share
1 answer

Check the keystore manager.

How to use different certificates for certain connections?

0
source share

All Articles