Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Write Channel Closed, possible SSL handshaking or trust failure

1 view
Skip to first unread message

vseetharaman

unread,
Nov 27, 2002, 12:35:06 AM11/27/02
to
hello,
I am getting an error message "Write Channel Closed, possible SSL
handshaking or trust failure"
java.io.IOException: Write Channel Closed, possible SSL handshaking or
trust fai
lure
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknow
n Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
sage(Unknown Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
sages(Unknown Source)
at com.certicom.tls.record.ReadHandler.interpretContent(Unknown
Source)
at com.certicom.tls.record.ReadHandler.readRecord(Unknown
Source)
at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknow
n Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Un
known Source)
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:67
)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:125)
at java.io.FilterOutputStream.flush(FilterOutputStream.java:121)
at weblogic.net.http.HttpURLConnection.writeRequests(HttpURLConnection.j
ava:97)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
java:284)
at weblogic.net.http.HttpURLConnection.getInternalResponseCode(HttpURLCo
nnection.java:674)
at weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLConnection
.java:659)
at examples.security.vissslclient.VISSSLClient.wlsURLConnect(VISSSLClien
t.java:112)
at examples.security.vissslclient.VISSSLClient.main(VISSSLClient.java:37
)

upon connecting with "weblogic.net.http.HttpsURLConnection".
Any clues ?

Michael Jouravlev

unread,
Nov 27, 2002, 12:24:18 PM11/27/02
to

"vseetharaman" <seetha...@aol.com> wrote in message
news:6351b5d9.02112...@posting.google.com...

> hello,
> I am getting an error message "Write Channel Closed, possible SSL
> handshaking or trust failure"

<skipped>

> upon connecting with "weblogic.net.http.HttpsURLConnection".
> Any clues ?

Any details? Ensure that you use proper certificate on the client side. Also
include java.exe in the classpath.


vseetharaman

unread,
Nov 27, 2002, 7:18:20 PM11/27/02
to
Thank you michael., This one is resolved now. I included trusted CA
certificate keystore on the client side. My one way SSL goes thru fine
without any problem.

But I do have problems in two way SSL. I am getting following error in
mutual authenication in weblogic.

The handshake handler was unable to negotiate an acceptable set of
security par
ameters.
[java] at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireExceptio
n(Unknown Source)
[java] at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertRec
eived(Unknown Source)
[java] at com.certicom.tls.record.alert.AlertHandler.handle(Unknown
Sou
rce)
[java] at com.certicom.tls.record.alert.AlertHandler.handleAlertMessage
s(Unknown Source)
[java] at com.certicom.tls.record.ReadHandler.interpretContent(Unknown
Source)
[java] at com.certicom.tls.record.ReadHandler.readRecord(Unknown
Source
)
[java] at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplet
e(Unknown Source)
[java] at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHand
shake(Unknown Source)
[java] at com.certicom.tls.record.WriteHandler.write(Unknown
Source)
[java] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream
.java:67)
[java] at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:
125)
[java] at java.io.FilterOutputStream.flush(FilterOutputStream.java:121)

[java] at weblogic.net.http.HttpURLConnection.writeRequests(HttpURLConn
ection.java:97)
[java] at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:284)
[java] FATAL Alert:HANDSHAKE_FAILURE - The handshake handler was
unable to
negotiate an acceptable set of security parameters.----
[java] at weblogic.net.http.HttpURLConnection.getInternalResponseCode(H
ttpURLConnection.java:674)
[java] at weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLCo
nnection.java:659)
[java] at examples.security.sslclient.SSLClient.wlsURLConnect(SSLClient
.java:280)
[java] at examples.security.sslclient.SSLClient.main(SSLClient.java:61)

I have configured root CA keystore at client and server side
correctly. Certificate files and key file are also configured
properly.
I am not sure what is going wrong. Please note that one way SSL is
working without any issues.
Thank you

"Michael Jouravlev" <michael_...@yahoo.com> wrote in message news:<3de4ffca$1...@newsgroups.bea.com>...

Michael Jouravlev

unread,
Dec 3, 2002, 3:47:16 PM12/3/02
to
Correction: I meant "include java.exe in the PATH". But you made it work
anyway. Sorry, I cannot help you with mutual authentication. Have not tried
it myself yet.

Michael J.

"Michael Jouravlev" <michael_...@yahoo.com> wrote in message
news:3de4ffca$1...@newsgroups.bea.com...
>

0 new messages