Hi,
I'd like to open up two SSL listeners in a single process, and I want
each of them to have their own certificate. There's only one system
property for this. Am I missing something? I've tried setting the
system property to one certificate and then creating a listener... then
reseting the system property to a different certificate, and opening
the 2nd listener. That didn't work. Is that the right idea and I just
screwed up the implementation, or is there another way to do it?
Thanks
John
EJP - 07 Oct 2006 09:03 GMT
> Hi,
> I'd like to open up two SSL listeners in a single process, and I want
[quoted text clipped - 4 lines]
> the 2nd listener. That didn't work. Is that the right idea and I just
> screwed up the implementation, or is there another way to do it?
Just manually initialize two different SSLContexts with different
keystores, as shown in the JDK Javadoc/Guide to features/Security/JSSE
Reference Guide, and get different SSLServerSocketFactories.
jva02@yahoo.com - 10 Oct 2006 04:14 GMT