Java WS with mutual ssl authentication
I need a solution to authenticate clients (several in the same JVM) on the same server using SSL. These clients will consume Web services from the server and the server uses client certificates to authorize transactions.
So I can not use:
And even less:
System.setProperty ("javax.net.ssl.keyStore", "keystore.jks");
The two solutions above do not work in my scenario with multiple certificates for many clients.