javax.xml.ws.WebServiceException:javax.net.ssl.SSLKeyException

时间:2017-09-12 14:19:25

标签: web-services ssl wsdl jdeveloper

我正在使用JDeveloper 11g从现有的WSDL创建和运行Web服务客户端。我在尝试运行时遇到以下错误。我已将所述证书添加到我的cacerts文件中,但仍然存在同样的问题。请帮忙!

javax.xml.ws.WebServiceException: javax.net.ssl.SSLKeyException: [Security:090542]Certificate chain received from localhost - 127.0.0.1 --> direct.dnb.com was not trusted causing SSL handshake failure. Check the certificate chain to determine if it should be trusted or not. If it should be trusted, then update the client trusted CA configuration to trust the CA certificate that signed the peer certificate chain. If you are connecting to a WLS server that is using demo certificates (the default WLS server behavior), and you want this client to trust demo certificates, then specify -Dweblogic.security.TrustKeyStore=DemoTrust on the command line for this client.

1 个答案:

答案 0 :(得分:0)

没关系。我解决了对于JDeveloper,需要将证书添加到另一个文件中。请参阅此https://community.oracle.com/thread/2406629