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

client failed in hadshake, why

0 views
Skip to first unread message

Yi Zhang

unread,
Jun 2, 2004, 3:22:51 PM6/2/04
to

My relevent codes are:
final KeyStore identityKeyStore = KeyUtil.loadKeystore(identityKeystore, identityKeyStorePassword);
X509Certificate clientCert = KeyUtil.getCertificate(clientCertAlias, identityKeyStore);
PrivateKey privateKey = KeyUtil.getPrivateKey(clientCertAlias, identityKeyStorePassword,
identityKeyStore);

WebServiceContext context = service.context();
WebServiceSession session = context.getSession();
session.setAttribute(WSSEClientHandler.CERT_ATTRIBUTE, clientCert);
session.setAttribute(WSSEClientHandler.KEY_ATTRIBUTE, privateKey);


and errors are


<Jun 2, 2004 3:18:38 PM EDT> <Debug> <TLS> <000000> <NEW ALERT: com.certicom.tls
.record.alert.Alert@1552b76 Severity: 2 Type: 42
java.lang.Throwable: Stack trace
at weblogic.security.utils.SSLSetup.debug(SSLSetup.java:265)
at com.certicom.tls.record.alert.Alert.<init>(Unknown Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
Source)
at com.certicom.tls.record.handshake.ClientStateReceivedServerHello.hand
le(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:66
)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
at weblogic.webservice.binding.soap.HttpClientBinding.writeToStream(Http
ClientBinding.java:401)
at weblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBin
ding.java:192)
at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
ndler.java:37)
at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainI
mpl.java:143)
at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:
231)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.j
ava:143)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:457)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
a:443)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:254)

Yi Zhang

unread,
Jun 2, 2004, 3:29:01 PM6/2/04
to
0 new messages