From harmony-dev-return-17801-apmail-incubator-harmony-dev-archive=incubator.apache.org@incubator.apache.org Wed Nov 01 10:50:49 2006 Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 42882 invoked from network); 1 Nov 2006 10:50:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2006 10:50:47 -0000 Received: (qmail 34362 invoked by uid 500); 1 Nov 2006 10:50:55 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 34325 invoked by uid 500); 1 Nov 2006 10:50:55 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 34316 invoked by uid 99); 1 Nov 2006 10:50:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 02:50:55 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of kleymenov@gmail.com designates 72.14.204.230 as permitted sender) Received: from [72.14.204.230] (HELO qb-out-0506.google.com) (72.14.204.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 02:50:41 -0800 Received: by qb-out-0506.google.com with SMTP id q10so532656qbq for ; Wed, 01 Nov 2006 02:50:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=db4vs4/Du4YcQfKPrQXYDDuupGnMNSHl3HCPSSylihRL/apGSy7ZfbMoie8t9ZHLvHVNo36SULWg3+gg1eAX3KHMJmXrYbzZJ8jDdhSMF6xYkc7dBUzkwk0QbK7lyvIXR4aqp6tiFLzo7IOb1W2G0itlbJst9Q0ittTov9PTgnE= Received: by 10.90.25.3 with SMTP id 3mr2977293agy; Wed, 01 Nov 2006 02:50:20 -0800 (PST) Received: by 10.90.66.15 with HTTP; Wed, 1 Nov 2006 02:50:20 -0800 (PST) Message-ID: Date: Wed, 1 Nov 2006 16:50:20 +0600 From: "Alexander Kleymenov" To: harmony-dev@incubator.apache.org Subject: Re: [classlib][xnet] Problem connecting using SSLSocketImpl In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <01a001c6f6d9$01a981e0$0eab2fa6@mcilink.com> <4540AE1A.9030909@gmail.com> <45411940.6070309@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Gerald, I'm very happy to hear this issue was fixed. Thank you for your participation in its resolution! With my latest patch supplied with HARMONY-2029 JIRA report you can use Harmony VM and JSSE to work with PKCS12 stores. To adapt your client code for Harmony you should convert JKS trust store to BKS type (or generate new BKS one), and rewrite the following lines of your code: KeyManagerFactory kmf = KeyManagerFactory.getInstance( KeyManagerFactory.getDefaultAlgorithm()); . . . TrustManagerFactory tmf = TrustManagerFactory.getInstance( TrustManagerFactory.getDefaultAlgorithm()); Please feel free to ask if you have any problems with it. Thank You, Alexander Kleymenov On 10/26/06, Gerald Jerome wrote: > Hi Alexander, > > Great job! This latest patch appears to have fixed the connection issue > with SSLSocketImpl and I have started testing renegotiation with our host. > Everything appears to be working as expected with no errors. Thanks for > hanging in there and getting this fixed. > > Regards, > Gerald Jerome > Vnet 262-2375 >