使用しているサイトはhttpsプロトコルのサイトなので、証明書を無視したいのですが、証明書を無視する設定ができません。
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 パスの構築に失敗しました