私が使用しているサイトはhttpsプロトコルのものなので、Ignore certificates.Butを使用したいですが、私は無視する証明書を設定できません。私はこのようなエラーを取得していますjodd http clientどのようにIgnore証明書を設定する
public class JoddHttpClientDemoApplication {
public static void main(String[] args) throws Exception {
SpringApplication.run(JoddHttpClientDemoApplication.class, args);
HttpRequest request = HttpRequest.get("https://xxxxx.com?0.6891255003788694").
header("Referer","https://xxxxx.com/x.jsp");
HttpResponse response = request.send();
System.out.println(response);
}
}
は、
jodd.http.HttpException:sun.security.validator.ValidatorException:PKIXパスの建物は、最新のJodd V3に
あなたは完全なスタックトレースを追加してもいいですか? – Thrasher
私の答えは助けてくれましたか? – igr
@игор\t ありがとうございます非常にありがとうございます – senz