My client needs to connect to a JBoss server using different credentials at different times. I have a customised SSLSocketBuilder that successfully loads different keystores at the appropriate times. When changing client SSL certificate, I am successfully closing down all current SSL connections. Nevertheless, on making new SSL connections and listening for the handshake complete event, it is clear that the local SSL certificate used for the handshake is not changing.
Is there some about the implementation of SSL sockets in JBoss preventing the change in local SSL certificate from taking place?
If so, is there a way to force the change?
I am using JBoss 4.2.3.
Thanks in advance,
Michelle.