Posted By:
IDan_Bauer
Posted On:
Wednesday, January 7, 2009 11:29 AM
We have a bit of code as follows: conn = (HttpsURLConnection)myurl.openConnection(); conn.setSSLSocketFactory(fxmFactory); conn.setHostnameVerifier(new MyVerified()); conn.connect(); It the fxmFactory is a wrapper we created around the default SSLFactor as per http://blog.huikau.com/2006/05/08/disable-cert-validation-for-ldap-and-http-over-ssl/ On Update 10 and 11 the line conn.connect() fails with the exception: Unconnected Socket Not Implemented Any Idea? Anyone knows of a solution or a workaround /alternate way to create an HTTPS connection? I'm really new to Java (veteran .Net deve
More>>
We have a bit of code as follows:
conn = (HttpsURLConnection)myurl.openConnection();
conn.setSSLSocketFactory(fxmFactory);
conn.setHostnameVerifier(new MyVerified());
conn.connect();
It the fxmFactory is a wrapper we created around the default SSLFactor as per
http://blog.huikau.com/2006/05/08/disable-cert-validation-for-ldap-and-http-over-ssl/
On Update 10 and 11 the line conn.connect() fails with the exception:
Unconnected Socket Not Implemented
Any Idea? Anyone knows of a solution or a workaround /alternate way to create an HTTPS connection?
I'm really new to Java (veteran .Net developer) and I just got this project and it failed as of the new update.
Thanks!
<<Less