Client certificate selection with JSSE
I have an application that connects to a SSL-server that requires client authentication. Depending on the type of interaction my client app has to choose one from several client certificates. To complicate things, I need to setup multiple connections concurrently, using a different certificate for every connection.
The JSSE uses system properties (javax.net.ssl.keyStoreProvider, etc.) to configure the keystore that will be used for finding a client certificate. I need an alternative for this mechanism that allows me to specify the keystore to use when I create de SSL-socktet. In the API-docs of the javax.net.ssl package I can't find a way to do this. Does anybody have a solution for this problem?

