我正在使用WSDL11g从现有的JDeveloper创建和运行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.发布于 2017-09-13 03:14:35
不要紧。我解决了这个问题。对于JDeveloper,需要将证书添加到另一个文件。请参阅此https://community.oracle.com/thread/2406629
https://stackoverflow.com/questions/46178891
复制相似问题