David.Turing's blog

           

          Certificate chain received from 客戶端- 192.168.10.10 was not trusted causing SSL handshake failure

          SSL握手會有很多意想不到的Exception, 其中很多都是因?yàn)闆]有配置好cacerts導(dǎo)致的。
          以Tomcat為例,你需要在conf/server.xml中指定你的keystore并且配置好KeyAlias,
          同時(shí),Tomcat會到JAVA_HOME/jre/lib/security目錄下讀取cacerts文件。
          在Weblogic中,你也需要配置Trust.jks和Identity.jks(可以參考WebLoigc Security In Action)。

          問題是,IE究竟根據(jù)什么來提交證書(包含私鑰的證書)?
          很簡單,服務(wù)器提交他的證書到客戶端,客戶端會根據(jù)服務(wù)器的證書的DN,檢索本地私鑰,
          選擇那些由此DN簽發(fā)證書X,然后確定使用X對應(yīng)的本地私鑰,用于SSL握手。
          cacerts是JDK容器信任的證書列表,如果cacerts中沒有包含客戶端私鑰對應(yīng)的證書鏈中的
          信任證書,則服務(wù)器會拒絕任何從客戶端的SSL請求。
          典型的Weblogic日志就是:
          <Certificate chain received from 客戶端- 192.168.10.10 was not trusted causing SSL handshake failure.>

          posted on 2006-07-13 17:48 david.turing 閱讀(9667) 評論(3)  編輯  收藏 所屬分類: Security異常問題

          評論

          # re: Certificate chain received from 客戶端- 192.168.10.10 was not trusted causing SSL handshake failure 2006-12-26 10:36 admin

          gfjuhyg  回復(fù)  更多評論   

          # re: Certificate chain received from 客戶端- 192.168.10.10 was not trusted causing SSL handshake failure 2008-10-27 21:42 Admin

          123333333333333333333  回復(fù)  更多評論   

          # re: Certificate chain received from 客戶端- 192.168.10.10 was not trusted causing SSL handshake failure 2011-10-09 10:02 11

          jjjjj  回復(fù)  更多評論   

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿(110)

          我參與的團(tuán)隊(duì)

          隨筆分類(126)

          隨筆檔案(155)

          文章分類(9)

          文章檔案(19)

          相冊

          搜索

          積分與排名

          最新隨筆

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 海安县| 大埔区| 海伦市| 北京市| 平乡县| 克东县| 乐都县| 阿瓦提县| 临潭县| 淅川县| 天全县| 横峰县| 宜州市| 亚东县| 吴桥县| 会东县| 岚皋县| 高平市| 淮滨县| 万州区| 甘肃省| 内江市| 黎川县| 水城县| 利川市| 南雄市| 安丘市| 建湖县| 孟村| 达孜县| 湘乡市| 崇明县| 榆社县| 若尔盖县| 太和县| 白银市| 临安市| 孝昌县| 成安县| 上杭县| 田东县|