我的服務器程序使用信任存儲的客戶端證書,它適用於雙向握手,但是我希望能夠從信任存儲區獲取其他事情的證書。我注意到關鍵商店的this example。我如何處理信託商店?我怎樣才能訪問java信任存儲證書
我以下面的方式爲我的SSL雙向握手設置信任存儲,但我想使用其他證書。
System.setProperty("javax.net.ssl.trustStore", "store.jts");
System.setProperty("javax.net.ssl.trustStorePassword", "PASS);
可能的重複http://stackoverflow.com/questions/2138574/java-path-to-truststore-set-property-doesnt-work – mazaneicha
根本不是...... – Andrew