Commit 756268bf authored by Steinberg, Jan's avatar Steinberg, Jan
Browse files

TLSCertificate error by JSoup - PKIX path building failed ...

parent 4a42b5de
......@@ -26,7 +26,7 @@ public class CatchAllResolvingStrategy implements ContentsUrlsResolvingStrategy
Set<String> contentsUrlStrings = new HashSet<>();
try {
Document doc = Jsoup.connect(seedUrl).userAgent("Mozilla").get();
Document doc = Jsoup.connect(seedUrl).userAgent("Mozilla").validateTLSCertificates(false).get();
// BEGIN check all "meta" elements with an attribute "name"="citation_pdf_url"
Elements citationPdfUrlMetaElements ="meta[name=citation_pdf_url]");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment