harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov" <...@apache.org>
Subject Re: [net] HTTPS connections
Date Mon, 04 Feb 2008 11:50:35 GMT
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 <alexey.a.petrenko@gmail.com> 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
>

Mime
View raw message