-
1. Re: Change Client SSL Certificate Without Restarting JVM?
ron_sigal Jul 17, 2012 9:40 PM (in response to mchenderson)1 of 1 people found this helpfulHi Michelle,
It sounds like you're doing the right thing. When you create a new connection, org.jboss.remoting.AbstractInvoker.createSocketFactory() should call SSLSocketBuilder to get a new socket factory, and the new socket factory should be created with the new keystore. Hmmm.
How is your client configured? Have you looked at AbstractInvoker.createSocketFactory() to verify that the new socket factory is, in fact, being created by your SSLSocketBuilder.
-Ron
-
2. Re: Change Client SSL Certificate Without Restarting JVM?
mchenderson Jul 27, 2012 8:32 AM (in response to ron_sigal)Hi Ron,
Thank you for your reply.
We have found a solution to this problem that meets our needs. In our customised SSLSocketBuilder, every time that we change the client SSL certificate we invoke createSocketFactorySSLContext followed by initialiseSocketFactorySSLContext. We also set useSSLSocketFactory to false so that it is our own customised socket factory that gets instantiated.
Best regards,
Michelle.