Is there a way in Java to specify two different keystore when I launch it?
I would like to have:
java -Djavax.net.ssl.keyStoreType=pkcs12 -Djavax.net.ssl.keyStore=my-cert.p12 -Djavax.net.ssl.keyStorePassword=password MyApp
That use my .p12
and the normal java cacerts
.
Thanks!