Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 71720 invoked from network); 4 Feb 2008 11:51:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 11:51:08 -0000 Received: (qmail 66962 invoked by uid 500); 4 Feb 2008 11:50:59 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 66929 invoked by uid 500); 4 Feb 2008 11:50:59 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 66920 invoked by uid 99); 4 Feb 2008 11:50:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 03:50:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vmzakhar@gmail.com designates 64.233.178.243 as permitted sender) Received: from [64.233.178.243] (HELO hs-out-2122.google.com) (64.233.178.243) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 11:50:45 +0000 Received: by hs-out-2122.google.com with SMTP id 4so1953352hsl.4 for ; Mon, 04 Feb 2008 03:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=Quxylpw6KcJrNUKitpfew57j64lV9beiXf1hXyEn3zI=; b=PwIDV3DaihNRRg18koffagTc1hSIW13UWOnVwp6vt19Bpm0aWUM8KrC5QUyOYS4S7r8UWEqgyg+PbaT4P+DHybBRVTcj5Xpr+xH/5M2rAwjgn0IGELuUVNdM4vTSXHNVY7Rl6qFR004y4Thr7gE2U9NrigLwEOonXByopVbbBJA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=N+/t35XcfQH8NdROQMB9ULoWDrWT4m8C7cokOCeIOYNJ9LQtEUYdTzv3WtfqsvU29WzGjyMoGId58RdPJ3mSX2NYEIjZlQJcM1e3bDnftTq3Q654OEfupdRwLf1El539NPd3jCLi9Ifwn8mSylmEjhAXYau1h/ctcTqlQ9bGOWQ= Received: by 10.143.17.13 with SMTP id u13mr3340515wfi.69.1202125835066; Mon, 04 Feb 2008 03:50:35 -0800 (PST) Received: by 10.142.214.21 with HTTP; Mon, 4 Feb 2008 03:50:35 -0800 (PST) Message-ID: Date: Mon, 4 Feb 2008 14:50:35 +0300 From: "Vasily Zakharov" Sender: vmzakhar@gmail.com To: dev@harmony.apache.org Subject: Re: [net] HTTPS connections In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 434ef5687dc6e004 X-Virus-Checked: Checked by ClamAV on apache.org I've tried Geronimo/Jetty a week ago, and HTTPS/TLS worked. Afaiu you must make sure you use TLS security, as Hamony doesn't have SSL support. Vasily On Feb 4, 2008 1:30 PM, Alexey Petrenko wrote: > Guys, > > does anybody knows the status of HTTPS connections possibility in > Harmony? Are they working? :) > > I wrote a small test which loads a page from our JIRA. And it fails > with the following stack trace: > > === cut === > Uncaught exception in main: > javax.net.ssl.SSLProtocolException: Unexpected message type has been > received: 72 > at org.apache.harmony.xnet.provider.jsse.SSLRecordProtocol.unwrap(SSLRecordProtocol.java:362) > at org.apache.harmony.xnet.provider.jsse.SSLSocketImpl.doHandshake(SSLSocketImpl.java:719) > at org.apache.harmony.xnet.provider.jsse.SSLSocketImpl.startHandshake(SSLSocketImpl.java:438) > at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.getSecureSocket(HttpConnection.java:168) > at org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnection$HttpsEngine.connect(HttpsURLConnection.java:398) > at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:871) > at org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnection.getInputStream(HttpsURLConnection.java:252) > at java.net.URL.openStream(URL.java:674) > at HTTPSTest.main(HTTPSTest.java:8) > === cut === > > Any ideas? > > Thanks in advance. > > SY, Alexey >