0
java
の軸を使用してwebservice
を消費しています。 Webサービスはhttpsにあり、私は証明書のチェックを避けたい。私はこのフォーラムで、これを私のコードに載せるための解決策を見つけました:軸偽証明書
AxisProperties.setProperty("axis.socketSecureFactory","org.apache.axis.components.net.SunFakeTrustSocketFactory");
私はそれを試しましたが、成功しませんでした。私は何かが欠けアム
main, handling exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
:System.setProperty("javax.net.debug", "all");
を、私は、ログの初めにこれを参照してください:私が有効になっている
trigger seeding of SecureRandom
done seeding SecureRandom
%% No cached client session
*** ClientHello, TLSv1 ......
を、最後にそれがエラーを与えますか? SecureSocketFactoryおよび方法にcreate
これを行うに:無効-INGのプロトコルについて
AxisProperties.setProperty()の代わりに 'System.setProperty()'を試してみましたか? – Tshepang
はい、私も同じことを試しました – edi843
[研究論文](http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf)でSSLの使用が強調されていることをご存知ですか? (セクション10)? – Basic