繰り返しになりますが、SSLPeerUnverified の悲惨な問題ですが、私は自己署名証明書を使用していません。https を使用してホストに接続しようとしています。このホストには正しい証明書があり、Firefox にも HttpsUrlConnection にも問題はありません。ただし、HttpClient を使用して接続しようとすると、恐ろしい例外が発生します。
手がかりはありますか?または、どこをよく見るかを教えてください。
ありがとう!
編集:デバッグ出力
メイン、例外処理:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
メイン、getSession() の IOException:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target