You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by xhu1 <xh...@yahoo.com> on 2005/05/17 02:39:33 UTC

[httpclient] Can't make it work with weblogic

Hi,
I am using httpclient 2.0.2 with weblogic7.0, but i
can't make ssl connection to https://www.verisign.com.
I got following exception (I can connect using URL
connection), anybody use httpclient with weblogic?
Thanks

<May 16, 2005 5:14:26 PM PDT> <Debug> <TLS> <000000>
<HANDSHAKEMESSAGE: ServerHello>
<May 16, 2005 5:14:26 PM PDT> <Debug> <TLS> <000000>
<HANDSHAKEMESSAGE: Certificate>
<May 16, 2005 5:14:26 PM PDT> <Debug> <TLS> <000000>
<NEW ALERT: com.certicom.tls.record.alert.Alert@15c2fd
Severity: 2 Type: 42
java.lang.Throwable: Stack trace
        at
weblogic.security.utils.SSLSetup.debug(SSLSetup.java:241)
        at
com.certicom.tls.record.alert.Alert.<init>(Unknown
Source)
        at
com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(UnknownSource)
        at
com.certicom.tls.record.handshake.ClientStateReceivedServerHello.handle(Unknown
Source)
        at
com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown
Source)
        at
com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(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(Unknown
Source)
        at
com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown
Source)
        at
com.certicom.tls.record.WriteHandler.write(Unknown
Source)
        at
org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1360)
        at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:67)
        at
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:125)
        at
org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:790)
        at
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2271)
        at
org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2651)
        at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
        at
jsp_servlet.__testhttpclient._jspService(__testhttpclient.java:252)
<May 16, 2005 5:14:26 PM PDT> <Debug> <TLS> <000000>
<Exception during handshake, stack trace follows
javax.net.ssl.SSLKeyException: FATAL
Alert:BAD_CERTIFICATE - A corrupt or unusea
ble certificate was received.


		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org