作者evilrat (坏老鼠)
看板java
标题[问题] Websphere SSL问题
时间Mon Aug 7 15:57:56 2017
目前在WebSphere上的SSL Keystore将下面的凭证设定进去了
CN=Entrust.net Certification Authority (2048), OU=(c) 1999 Entrust.net
Limited, OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.),
O=Entrust.net
一开始是正常可以连线的,但是过了一两天後就会出现
javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: 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 CN=Entrust.net Certification Authority (2048), OU=(c) 1999 Entrust.net
Limited, OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.),
O=Entrust.net is not trusted; internal cause is:
java.security.cert.CertPathValidatorException: Certificate chaining
error
这期间也没有对WebShpere做什麽事,就突然不被信任了...
想请问有人有遇过类似的问题吗
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 175.181.254.24
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/java/M.1502092678.A.A85.html
1F:推 Tormentor: 检查证书链看看 确那张凭证有汇入default trust store 08/16 14:31
2F:→ Tormentor: 那张有signer也要汇 08/16 14:32
3F:推 stu24801: 你应该有改https传输 才会有这个问题 建议直接查阅你的h 08/17 23:46
4F:→ stu24801: ttp build 08/17 23:46
5F:→ stu24801: Httpclient 的设置要去设定ssl trust managers 若还是 08/17 23:50
6F:→ stu24801: 不清楚 可以到stackoverflow 去看看 有很多范例 08/17 23:50