I am trying to configure a Client / Server application after setting up two-way SSL using java SSLRMIClientSocketFactory and SSLRMIServerSocketFactory. I know that to install the keystore and trust store on the client, I need to install -Djavax.net.ssl.trustStore and -Djavax.net.sslkeyStore.
As I understand it, the Java web start downloads jnlp and checks the jar and launches the Java client application in the sandbox, which then connects to the server application via RMI. The problem is that when the application runs in this sandbox, the default trust store and key store do not match what java web start uses. Instead, there is no default key store, and the default trust store is $ JAVA_HOME / jre / lib / security / cacerts
Is there a way to use the same supermarket and key store that javaws uses? Ideally, I would like to use the same trusted certificates and client certificates that the browser uses (and for the javaws extension). Thus, if users configure their certificate through the Java control panel, the application will use the same certificates.
source
share