【发布时间】:2011-08-24 07:57:32
【问题描述】:
我在 weblogic 10.3.3 上有一个 Web 应用程序,它是用于调用安全 Web 服务的客户端。 注意:我已经能够通过设置一个独立的 java 类来测试 web 服务 以下两个属性:
System.setProperty("javax.net.ssl.keyStore", "C:/keystore.jks");
System.setProperty("javax.net.ssl.keyStorePassword", "######");
但是当我尝试将客户端应用程序部署到 weblogic 时,它给了我以下错误:
weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to receive m
essage javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain receive
d from ******* was not trusted causing SSL handshake failure.
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknow
n 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.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.MessageInterpreter.interpretContent(Unknown S
ource)
在 weblogic 控制台中,我选中了“启用 SSL 侦听端口”复选框。 在 Keystores 选项卡中,我选择了“Custom identity and Standard Trust Store”。对于自定义身份,我已经指向 C:/keystore.jks。
【问题讨论】:
标签: java web-services ssl weblogic