Multiple SSL requests creating problem
I am developing a java servlet as a gateway between clients and SSL enabled webservers.
I am using JSSE version for connecting to different SSL enabled servers
My Requirement is to connect to mulltiple SSL enabled servers through java program .
Actually after successfully log on to first site (any site first time) the program gives
Exception for other site. I have to restart the server to logon to the other
site.
I have seen this problem by using the following
1)JRUN
2)TOMCAT
The exception which I am getting is.
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
Following are the System properties settings
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
System.setProperty("javax.net.ssl.trustStore","mystore");
Do I need to use different JVM as a solution to this problem ?
There should be some other solution for this problem.
Please help me out of this problem
Thanx in advance

