看板 java 關於我們 聯絡資訊
目前在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://www.ptt.cc/bbs/java/M.1502092678.A.A85.html
Tormentor: 檢查證書鍊看看 確那張憑證有匯入default trust store 08/16 14:31
Tormentor: 那張有signer也要匯 08/16 14:32
stu24801: 你應該有改https傳輸 才會有這個問題 建議直接查閱你的h 08/17 23:46
stu24801: ttp build 08/17 23:46
stu24801: Httpclient 的設置要去設定ssl trust managers 若還是 08/17 23:50
stu24801: 不清楚 可以到stackoverflow 去看看 有很多範例 08/17 23:50