首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >带有UPS Web服务集成的Websphere 7

带有UPS Web服务集成的Websphere 7
EN

Stack Overflow用户
提问于 2013-08-05 17:12:41
回答 1查看 294关注 0票数 0

我正在尝试将我的应用程序与Websphere 7中的UPS Web服务集成。但是它给出了证书链接错误。我该如何解决这个问题呢?

代码语言:javascript
复制
javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: 
    java.security.cert.CertPathValidatorException: The certificate issued by OU=Class 3 Public Primary Certification Authority, O="VeriSign, Inc.", C=US is not trusted; internal cause is: 
    java.security.cert.CertPathValidatorException: Certificate chaining error
    at com.ibm.jsse2.o.a(o.java:25)
    at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:499)
    at com.ibm.jsse2.kb.a(kb.java:483)
    at com.ibm.jsse2.kb.a(kb.java:48)
    at com.ibm.jsse2.lb.a(lb.java:426)
    at com.ibm.jsse2.lb.a(lb.java:194)
    at com.ibm.jsse2.kb.s(kb.java:93)
    at com.ibm.jsse2.kb.a(kb.java:128)
    at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:516)
    at com.ibm.jsse2.SSLSocketImpl.h(SSLSocketImpl.java:400)
    at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:787)
    at com.ibm.jsse2.SSLSocketImpl.startHandshake(SSLSocketImpl.java:640)
    at com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:143)
    at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:36)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1026)
    at com.ibm.net.ssl.www2.protocol.https.b.getOutputStream(b.java:69)
EN

回答 1

Stack Overflow用户

发布于 2014-03-27 10:45:54

代码语言:javascript
复制
Set up UPS web service call works properly with WCS server, we need to install the security certificate for UPS in WCS server.
Start WCS serve.
Start Administration Console by right clicking the server and selecting “Run Administration Console” from Administration Context menu.
From the Administration console window, expend Security and select “SSL certificate and key management”.
Click on “SSL configuration”.
Select “NodeDefaultSSLSetting”.
Click on “Key stores and certificates”.
Select “NodeDefaultTrustStore”.
Click on “Signer certificates”.
Click on “Retrieve from port” button.
Fill in “wwwcie.ups.com” as host and “443” as port.
Click on “OK” button and save.
Restart the WCS server.
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18054430

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档