Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 61241 invoked from network); 8 Mar 2007 13:04:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2007 13:04:49 -0000 Received: (qmail 82251 invoked by uid 500); 8 Mar 2007 13:04:56 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 82237 invoked by uid 500); 8 Mar 2007 13:04:56 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 82226 invoked by uid 99); 8 Mar 2007 13:04:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2007 05:04:56 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [203.200.22.222] (HELO southendmsg.SONATA.LOCAL) (203.200.22.222) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2007 05:04:46 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C76182.6B98489F" Subject: Certificate Based Client Authentication Date: Thu, 8 Mar 2007 18:35:18 +0530 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Certificate Based Client Authentication Thread-Index: AcdhgmulQA+FjCCSSaeQgItcFag0/g== From: "Lalit Sahoo" To: X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C76182.6B98489F Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, =20 I am using the AuthSSLProtocolSocketFactory example code for SSL and certificate based authentication. =20 I have written following statement: =20 ProtocolSocketFactory socketFactory =3D new = AuthSSLProtocolSocketFactory( keystoreURL, httpConnectParams.keystorePassword,null,null); =20 I am using Weblogic Application Server. =20 But when I am executing the client I am getting following error: =20 javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found =20 Is it necessary to provide trust certificate? =20 Can anybody help me in this regard? =20 Regards, Lalit ------_=_NextPart_001_01C76182.6B98489F--