Title: RE: Problem with custom TrustManager for SSL in Tomcat 4.1.24
Try using
import com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl;
HttpsURLConnectionOldImpl.setDefaultSSLSocketFactory(sslFactory);
instead of
I have coded a custom TrustManger and HostnameVerifier for SSL (actually TLS)
connections from my servlet code to another server.
The code calls the correct methods to setup the Default TrustManager and
HostNameVerifier for an HttpsUrlConnection.
I then use the URL.openConnection() method to in