we have a JBoss that performs server-to-server comunications with a remote AS.
The comunication use the mutual authentication so our jboss has to pass a client certificate to the remote server.
All works ok until 3 days ago and we were able to pass the right client certificate to the remote application.
In the remote server a new CA root has been added.
In our keystore a client certificate for that CA is present for other pourpose and when the application try to connect to remote server the wrong certificate is sent.
Is it possible identify a sort of priority in the keystore in order to sent the right certificate when more than one match with the CA sent by remote server?
Thanks in advance, and sorry for my bad english
subject: Jboss and mutual authentication - problem with cliente certiifcate