两个应用程序之间的SOAP调用,两者都部署在Websphere应用程序服务器上 - 启用了SSL / HTTPS

时间:2013-09-19 11:03:31

标签: java web-services soap websphere soap-client

我遇到了一个问题 - 我在WebSphere应用程序服务器上分别部署了两个java应用程序e1和e2,分别是was1_6.x和was2_7.x,两个WAS都启用了SSL / HTTPS。 e1正在对e2进行SOAP调用,但双方都发生错误,如下所示:

error on e1 logs - javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem    parsing  [https://vm32iw3r2:9449/EngageOneWS/RequestStatusUpdateService?wsdl].: java.net.SocketExceptionat com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source)

error on e2 logs - Unable to initialize SSL connection.  Unauthorized access was denied or security settings have expired.  Exception is javax.net.ssl.SSLException: Received fatal alert: certificate_unknown

请建议!

谢谢,Shailendra Singh

1 个答案:

答案 0 :(得分:0)

e1无法识别e2的SSL证书。您需要将其添加到密钥库。见http://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html