Return-Path: Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 65725 invoked from network); 28 May 2003 04:16:45 -0000 Received: from bay2-dav61.bay2.hotmail.com (HELO hotmail.com) (65.54.246.196) by daedalus.apache.org with SMTP; 28 May 2003 04:16:45 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 27 May 2003 21:16:52 -0700 Received: from 24.56.39.111 by bay2-dav61.bay2.hotmail.com with DAV; Wed, 28 May 2003 04:16:52 +0000 X-Originating-IP: [24.56.39.111] X-Originating-Email: [om5@hotmail.com] From: "Om Narayan" To: "Commons HttpClient Project" References: <20030528023414.44838.qmail@web11005.mail.yahoo.com> Subject: Re: Httpclient under weblogic 7.0 Date: Tue, 27 May 2003 21:17:03 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Message-ID: X-OriginalArrivalTime: 28 May 2003 04:16:52.0427 (UTC) FILETIME=[F76A39B0:01C324CF] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yes. I am trying to stay away from having to use Sun's JSSE since weblogic already comes with one already. I will give it a try though. I don't have the option to move to jdk 1.4, so will try adding the jar files as extensions. Thanks. Om. ----- Original Message ----- From: "Vamsi Atluri" To: "Commons HttpClient Project" Sent: Tuesday, May 27, 2003 7:34 PM Subject: Re: Httpclient under weblogic 7.0 > Hi Om, > > I recently had to use HttpClient to make some SSL connections from with in > a session bean deployed in WebLogic 7.0. I had a problem where the SSL > handshake never goes through. I am using JSSE for SSL though. I did the > following steps to get it working: > > 1) moved the JDK to 1.4.1 > 2) added jsse.jar, httpclient.jar, jnet.jar and jcert.jar to the > POST_CLASSPATH in startWebLogic.cmd (so that they will be tacked on to > CLASSPATH) > 2) added the certificate of the host i am connecting to (xxx.cer) cacerts > in the JDK and also the cacerts under \bea\weblogic700\server\lib\. > 2.1) the way to do this is "keytool -import -keystore "path to > cacerts" -file "path to xxx.cer" > 2.2) the default password for the keystore is "changeit" :-) > 3) add the following argument to the weblogic.Server command: > -Dweblogic.security.SSL.trustedCAKeyStore=c"path to cacerts" > > Hope this helps. > > -Vamsi > > --- Om Narayan wrote: > > I am trying to use httpclient with weblogic 7.0. > > It works fine without SSL, but when I try to use https urls it just sits > > there hanging. If I use weblogic's apis, the program works fine (btw, I > > am using the sslclient example that comes with weblogic). > > I am using weblogic's implementation of SSL (not Sun's JSSE). Is there > > any special setup/installation necessary? > > > > Om. > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org > >