Hi Julius! thanks for your reply.. I've "forwarded" this to the soapui-user havingthe actual problem, hopefully he can try your jar and give us somefeedback.. I'll get back to you when I hear something..
(the issue discussion is at http://sourceforge.net/forum/forum.php?thread_id=1543074&forum_id=494205) kind regards, /Ole eviware.com >-----Original Message----- >From: Julius Davies [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 27, 2006 06:33 PM >To: 'HttpClient User Discussion' >Cc: [EMAIL PROTECTED] >Subject: Re: Problems with SSL / EasySSLProtocolSocketFactory > >Hi, Ole, > >Out of curiosity, can you try with my version of >EasySSLProtocolSocketFactory? > >Download it here: > >http://juliusdavies.ca/commons-ssl/ > >In particular: > >http://juliusdavies.ca/commons-ssl/commons-ssl.jar > >That jar file contains >"org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory". > >But personally I'm quite confused by your error. I've never had any >trouble with EasySSLProtocolSocketFactory! What version of Java are you >using? > > >yours, > >Julius > > > >On Thu, 2006-27-07 at 07:13 +0000, Ole Matzura wrote: >> Hi all! >> >> I've recently switched to using EasySSLProtocolSocketFactoryforsupporting >> unverified certificates. Unfortunately though it seemsthataccessing >> resources with verified certificates sometimes givesthefollowing error: >> >> -------- >> 2006-07-27 13:46:23,140 >> [com.eviware.soapui.impl.wsdl.support.http.EasyX509TrustManager] - Server >> certificate chain: >> 2006-07-27 13:46:23,156 >> [com.eviware.soapui.impl.wsdl.support.http.EasyX509TrustManager] - >> X509Certificate[0]=[ >> >> java.net.SocketException: Software caused connection abort: recv failed >> -------- >> >> I init my HttpClient as follows; >> >> ------- >> Protocol easyhttps = new Protocol("https", new >> EasySSLProtocolSocketFactory(), 443); >> Protocol.registerProtocol("https", easyhttps); >> >> MultiThreadedHttpConnectionManager connectionManager = new >> MultiThreadedHttpConnectionManager(); >> connectionManager.getParams().setDefaultMaxConnectionsPerHost( 500 ); >> connectionManager.getParams().setMaxTotalConnections( 2000 ); >> httpClient = new HttpClient(connectionManager); >> -------- >> >> If I just remove the first 2 rows above everything works fine.. >> >> what have I done wrong and/or misunderstood? (I've just copiedtheEasyXXX >> related classes from httpclient 3.0 into my source-tree) >> >> thanks for any help! >> >> regards, >> >> /Ole >> eviware.com >> >-- >Julius Davies >Senior Application Developer, Technology Services >Credit Union Central of British Columbia >http://www.cucbc.com/ >Tel: 604-730-6385 >Cel: 604-868-7571 >Fax: 604-737-5910 > >1441 Creekside Drive >Vancouver, BC >Canada >V6J 4S7 > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > >
